1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 'use strict';
- goog.require('Blockly.Blocks');
- Blockly.Blocks.procedures.HUE = 340;
- Blockly.Blocks['arduino_functions'] = {
-
- init: function() {
- this.appendDummyInput()
- .appendField(Blockly.Msg.ARD_FUN_RUN_SETUP);
- this.appendStatementInput('SETUP_FUNC');
-
-
-
- this.setInputsInline(false);
- this.setColour(Blockly.Blocks.procedures.HUE);
- this.setTooltip(Blockly.Msg.ARD_FUN_RUN_TIP);
- this.setHelpUrl('https://arduino.cc/en/Reference/Loop');
- this.contextMenu = false;
- },
-
- getArduinoLoopsInstance: function() {
- return true;
- }
- };
|