diff --git a/README.markdown b/README.markdown index 7c27e8413..df648b609 100644 --- a/README.markdown +++ b/README.markdown @@ -1,21 +1,34 @@ -ArduBlock -====== +#ArduBlock + ArduBlock is a Block Programming Language for Arduino. The language and functions model closely to [Arduino Language Reference](http://arduino.cc/en/Reference/HomePage) -Installation ----- +##Users +Ardublock is a free graphical programming environment to make programming physical computing with Arduino as easy as drag and drop. It is based on the popular ‘scratch’ programming language, which many will already be familiar with. Ardublock generates code in C, a text based language used by the Arduino IDE, which can then be studied and modified if desired. Ardublock is an extension to the Arduino IDE so that will need to be downloaded as well (found here https://www.arduino.cc/en/Main/Software). Code written in the Arduino IDE has the file extension .abp. + +####Getting Started with ArduBlock +1. Install the Arduino IDE, from https://www.arduino.cc/en/Main/Software +2. Download ardublock-all.jar from https://github.com/gregcorbett/ardublock/releases/latest +3. Copy ardublock-all.jar to C:/Users//Arduino/tools/ArduBlockTool/tool/ardublock-all.jar under + * Be careful, the name of folder “ArduBlockTool” under tools folder is case sensitive. + * In Mac, /Users//Documents/Arduino/tools/ArduBlockTool/tool/ardublock-all.jar + * In Linux, /home//sketchbook/tools/ArduBlockTool/tool/ardublock-all.jar +4. Start the Arduino IDE and find ArduBlock under the Tool menu + +##Developers +If you wish to develop ardublock, follow the instructions below. A prerequsite is openblocks, which can be found here https://github.com/gregcorbett/openblocks/archive/v1.0.zip +###Installation + The project is managed by Maven. After checking out the source for the first time, one should run the following to install Arduino's pde.jar into the local repository. $ mvn validate -Usage ----- +###Usage $ mvn exec:java -Dexec.mainClass="com.ardublock.Main" -Development ----- +###Development + Change the /src/main/resources/com/ardublock/block/ardublock_def.xml to add new blocks to ArduBlock $ mvn clean package @@ -24,27 +37,24 @@ Change the /src/main/resources/com/ardublock/block/ardublock_def.xml to add new The Visual Block environment should show up. Happy Hacking! ;) -Deploy ----- +###Deploy + Edit code of ardublock $ mvn clean package copy the target/ardublock-all.jar to Arduino\tools\ArduBlockTool\tool -Authors ----- -* David Li taweili@gmail.com -* HE Qichen heqichen@gmail.com +##Authors +The original code (https://github.com/taweili/ardublock) was developed at MIT and the authors can be contacted below. -ToDo ----- -* Integrate the [scripting engine](http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/) into the language blocks for code generation +* David Li taweili@gmail.com +* HE Qichen heqichen@gmail.com -License ----- +The author/maintainer of this branch can be contacted at greg.corbett@stfc.ac.uk. +##License Copyright (C) 2011 David Li and He Qichen This file is part of ArduBlock. @@ -60,4 +70,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with ArduBlock. If not, see . +along with ArduBlock. If not, see . \ No newline at end of file diff --git a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadAnalogBlock.java b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadAnalogBlock.java index 132fccde6..cb0dfc1df 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadAnalogBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadAnalogBlock.java @@ -13,7 +13,7 @@ public abstract class AbstractTinkerReadAnalogBlock extends TranslatorBlock AbstractTinkerReadAnalogBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + //translator.addHeaderFile("TinkerKit.h"); } @Override diff --git a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadDigitalBlock.java b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadDigitalBlock.java index 958b0068e..fb0ae548b 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadDigitalBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerReadDigitalBlock.java @@ -13,7 +13,7 @@ public abstract class AbstractTinkerReadDigitalBlock extends TranslatorBlock AbstractTinkerReadDigitalBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + //translator.addHeaderFile("TinkerKit.h"); } @Override diff --git a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteAnalogBlock.java b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteAnalogBlock.java index a83d59ff8..dbc3c26e5 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteAnalogBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteAnalogBlock.java @@ -11,7 +11,7 @@ public abstract class AbstractTinkerWriteAnalogBlock extends TranslatorBlock AbstractTinkerWriteAnalogBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + //translator.addHeaderFile("TinkerKit.h"); } @Override diff --git a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteDigitalBlock.java b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteDigitalBlock.java index d2e20b0e7..374041ba2 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteDigitalBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/AbstractTinkerWriteDigitalBlock.java @@ -13,7 +13,7 @@ public abstract class AbstractTinkerWriteDigitalBlock extends TranslatorBlock AbstractTinkerWriteDigitalBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + //translator.addHeaderFile("TinkerKit.h"); } @Override diff --git a/src/main/java/com/ardublock/translator/block/tinker/TinkerInputPortBlock.java b/src/main/java/com/ardublock/translator/block/tinker/TinkerInputPortBlock.java index e6326346a..8e6b96797 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/TinkerInputPortBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/TinkerInputPortBlock.java @@ -10,7 +10,7 @@ public class TinkerInputPortBlock extends TranslatorBlock public TinkerInputPortBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + //translator.addHeaderFile("TinkerKit.h"); } @Override diff --git a/src/main/java/com/ardublock/translator/block/tinker/TinkerOutputPortBlock.java b/src/main/java/com/ardublock/translator/block/tinker/TinkerOutputPortBlock.java index de91faa10..d0b86c9a1 100644 --- a/src/main/java/com/ardublock/translator/block/tinker/TinkerOutputPortBlock.java +++ b/src/main/java/com/ardublock/translator/block/tinker/TinkerOutputPortBlock.java @@ -9,7 +9,7 @@ public class TinkerOutputPortBlock extends TranslatorBlock public TinkerOutputPortBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label) { super(blockId, translator, codePrefix, codeSuffix, label); - translator.addHeaderFile("TinkerKit.h"); + // translator.addHeaderFile("TinkerKit.h"); //translator.addSetupCommand("pinMode( " + label + ", OUTPUT);"); } diff --git a/src/main/java/com/ardublock/ui/OpenblocksFrame.java b/src/main/java/com/ardublock/ui/OpenblocksFrame.java index 17024d2fe..2e36625b5 100644 --- a/src/main/java/com/ardublock/ui/OpenblocksFrame.java +++ b/src/main/java/com/ardublock/ui/OpenblocksFrame.java @@ -160,7 +160,7 @@ public void actionPerformed(ActionEvent e) { URL url; if (desktop != null && desktop.isSupported(Desktop.Action.BROWSE)) { try { - url = new URL("http://ardublock.com"); + url = new URL("https://github.com/gregcorbett/ardublock"); desktop.browse(url.toURI()); } catch (Exception e1) { e1.printStackTrace(); diff --git a/src/main/resources/com/ardublock/block/ardublock.properties b/src/main/resources/com/ardublock/block/ardublock.properties index e5d6c089b..c3eedbd4e 100644 --- a/src/main/resources/com/ardublock/block/ardublock.properties +++ b/src/main/resources/com/ardublock/block/ardublock.properties @@ -26,7 +26,7 @@ bc.watchdog_enable=enable bc.eeprom_address=address bc.eeprom_data=data bc.ln=new line -bc.message=message2 +bc.message=message bc.print=print bc.line_number=line# bc.character_number=char# @@ -119,7 +119,7 @@ bc.scoop_event_flag=Event bd.control=Control bd.scoop=SCoop (Multitask) bd.dfrobot=DFRobot -bd.number=Variables/Constants +bd.number=Numbers/Constants bd.operators=Math Operators bd.pins=Pins bd.seeedstudio=Seeed Studio Grove @@ -131,7 +131,7 @@ bd.storage=Storage bd.linksprite_LinkerKit=Linker Kit bd.tinkerkit=TinkerKit -bd.utilities=Generic Hardware +bd.utilities=Utilities # BlockGenus initlabel bg.df_lcd_keypad=DFRobot LCD Keypad bg.Tinker_Accmeter=Accelerometer @@ -176,8 +176,8 @@ bg.scoop_event_falling=Event: FALLING bg.scoop_event_rising=Event: RISING bg.scoop_event_change=Event: CHANGE -bg.delay=delay MILLIS -bg.delay_microseconds=delay MICROS +bg.delay=delay +bg.delay_microseconds=delay bg.df_360_degree_rotation_motor=360 degree rotation motor bg.df_adjustable_infrared_sensor_switch=Adjustable Infrared Sensor Switch @@ -336,8 +336,8 @@ bg.not_equal_digital=!= bg.repeat=repeat and count bg.glue_msg=glue message bg.servo=Servo -bg.servo_prefix=Servo: -bg.servo_default=Default +bg.servo_prefix=Servo +bg.servo_default= bg.servo_sg90=SG90 bg.servo_mg996r=MG996R bg.setter_variable_digital=set digital variable @@ -437,7 +437,7 @@ ardublock.ui.create_refer=create reference ardublock.ui.website=Go to Web Site ardublock.ui.serialMonitor=Serial Monitor ardublock.ui.saveImage=Save as image... -ardublock.ui.version=21040826 (beta) +ardublock.ui.version=1.0.0 ardublock.error_msg.digital_var_slot=Digital variable slot must take a 'digital variable' name.\nHint: Look at the 'variable' socket on the highlighted block ardublock.error_msg.number_var_slot=Standard variable slot must take a standard 'Integer' variable name.\nHint: Look at the 'variable' socket on the highlighted block diff --git a/src/main/resources/com/ardublock/block/ardublock.xml b/src/main/resources/com/ardublock/block/ardublock.xml index e32d0fd8d..785fe954b 100644 --- a/src/main/resources/com/ardublock/block/ardublock.xml +++ b/src/main/resources/com/ardublock/block/ardublock.xml @@ -35,13 +35,13 @@ - + - + @@ -190,7 +190,7 @@ - + subroutine @@ -199,7 +199,7 @@ - + invoke subroutine @@ -295,7 +295,7 @@ - + @@ -308,62 +308,62 @@ - + Read digital from the pin - + - + write digital to pin - + - + Read analog value from pin - + - + write digital to pin - + - + - + write analog to pin - + @@ -371,15 +371,15 @@ - + Generates a square wave of the specified frequency (and 50% duty cycle) on a pin. - - + + @@ -388,15 +388,15 @@ - + Generates a square wave of the specified frequency (and 50% duty cycle) on a pin. - - + + @@ -407,19 +407,19 @@ - + Stops the generation of a square wave triggered by tone(). - - + + - + DDRA @@ -430,7 +430,7 @@ - + DDRB @@ -441,7 +441,7 @@ - + DDRC @@ -452,7 +452,7 @@ - + DDRD @@ -463,7 +463,7 @@ - + DDRH @@ -474,7 +474,7 @@ - + DDRL @@ -485,7 +485,7 @@ - + PORTA @@ -496,7 +496,7 @@ - + PORTB @@ -507,7 +507,7 @@ - + PORTC @@ -518,7 +518,7 @@ - + PORTD @@ -529,7 +529,7 @@ - + PORTH @@ -540,7 +540,7 @@ - + PORTL @@ -551,7 +551,7 @@ - + PINA @@ -559,7 +559,7 @@ - + PINB @@ -567,7 +567,7 @@ - + PINC @@ -575,7 +575,7 @@ - + PIND @@ -583,7 +583,7 @@ - + PINH @@ -591,7 +591,7 @@ - + PINL @@ -602,7 +602,7 @@ - + Reports the sum of two numbers ( @@ -622,7 +622,7 @@ - + Reports the difference of two numbers ( @@ -642,7 +642,7 @@ - + Reports the product of two numbers ( @@ -662,7 +662,7 @@ - + Reports the quotient of two numbers ( @@ -682,7 +682,7 @@ - + @@ -693,14 +693,14 @@ - + - + @@ -708,35 +708,35 @@ - + - + - + - + - + generate a random number less than the number @@ -748,7 +748,7 @@ - + Generate random number between min and (max - 1) @@ -763,7 +763,7 @@ - + @@ -774,7 +774,7 @@ - + @@ -784,19 +784,19 @@ - + map value from [0, 1023] to [0, 255] - + - + map @@ -818,7 +818,7 @@ - + Constrain a number between two values @@ -1225,7 +1225,7 @@ - + Time in milliseconds @@ -1234,7 +1234,7 @@ - + Standard integer constant @@ -1245,7 +1245,7 @@ - + 'Unsigned Long' constant @@ -1256,7 +1256,7 @@ - + 'Double' constant @@ -1267,25 +1267,25 @@ - + - + - + - + Pin HIGH @@ -1296,7 +1296,7 @@ - + Pin LOW @@ -1308,7 +1308,7 @@ - + Reports the boolean true. @@ -1319,7 +1319,7 @@ - + Reports the boolean false. @@ -1330,7 +1330,7 @@ - + Digital Var @@ -1352,7 +1352,7 @@ - + Double @@ -1363,7 +1363,7 @@ - + Digital Var @@ -1374,7 +1374,7 @@ - + string message @@ -1383,7 +1383,7 @@ - + set integer variable @@ -1397,7 +1397,7 @@ - + set a large integer variable @@ -1411,7 +1411,7 @@ - + set decimal variable @@ -1425,7 +1425,7 @@ - + write digital to pin @@ -1448,12 +1448,12 @@ - + - + create a vector of numbers @@ -1462,13 +1462,13 @@ - + - + Set a vector number @@ -1477,15 +1477,15 @@ - + - + - + create a vector of numbers @@ -1511,7 +1511,7 @@ - + character @@ -1522,7 +1522,7 @@ - + set String variable @@ -1536,7 +1536,7 @@ - + Variable String @@ -1547,13 +1547,13 @@ - + Servo Default - - + + @@ -1561,7 +1561,7 @@ - + SG90 @@ -1580,7 +1580,7 @@ - + Servo MG996R @@ -1599,7 +1599,7 @@ - + Ultrasonic distance sensor @@ -1614,7 +1614,7 @@ - + 20 Char by 4 Line LCD display @@ -1623,10 +1623,10 @@ - + - + @@ -1639,7 +1639,7 @@ - + 16 Char by 2 Line LCD display @@ -1648,10 +1648,10 @@ - + - + @@ -1664,7 +1664,7 @@ - + 16 Char by 2 Line LCD display @@ -1673,10 +1673,10 @@ - + - + @@ -1689,7 +1689,7 @@ - + Clear LCD @@ -1700,7 +1700,7 @@ - + Home LCD @@ -1711,7 +1711,7 @@ - + Home LCD @@ -1722,7 +1722,7 @@ - + Home LCD @@ -1733,7 +1733,7 @@ - + Home LCD @@ -1744,7 +1744,7 @@ - + Home LCD @@ -1755,7 +1755,7 @@ - + Home LCD @@ -1766,7 +1766,7 @@ - + Home LCD @@ -1781,25 +1781,25 @@ - + - + - + - + send message via Serial port @@ -1813,7 +1813,7 @@ - + string message @@ -1823,7 +1823,7 @@ - + glue number to string @@ -1833,7 +1833,7 @@ - + glue boolean to string @@ -1843,7 +1843,7 @@ - + @@ -1853,7 +1853,7 @@ - + write data via I2C @@ -1870,7 +1870,7 @@ - + read data from i2c @@ -1885,7 +1885,7 @@ - + is last read from I2C success? @@ -2102,7 +2102,7 @@ - + @@ -2123,19 +2123,19 @@ - + - + - + send message via Serial port @@ -2146,7 +2146,7 @@ - + @@ -2157,7 +2157,7 @@ - + @@ -2199,13 +2199,13 @@ - + TinkerKit LED - - + + @@ -2218,13 +2218,14 @@ - + TinkerKit LED - - + + + @@ -2236,91 +2237,14 @@ - - - - TinkerKit Mosfet - - - - - - - - - - - - com/ardublock/block/arduino/Tinker_Mosfet.jpg - - - - - - - TinkerKit Mosfet - - - - - - - - - - - - com/ardublock/block/arduino/Tinker_Mosfet.jpg - - - - - - - TinkerKit Relay - - - - - - - - - - - - com/ardublock/block/arduino/Tinker_Relay.jpg - - - - - - - TinkerKit Servo - - - - - - - - - - - - com/ardublock/block/arduino/Tinker_Servo.jpg - - - - - + TinkerKit Button - + @@ -2329,49 +2253,14 @@ - - - - TinkerKit Accelerometer - - - - - - - - - - com/ardublock/block/arduino/Tinker_Accmeter.png - - - - - - - TinkerKit Hall Sensor - - - - - - - - - - com/ardublock/block/arduino/Tinker_Hall.png - - - - - + TinkerKit LDR - + @@ -2381,7 +2270,7 @@ - + TinkerKit Accelerometer @@ -2398,7 +2287,7 @@ - + TinkerKit RotaryPotentiometer @@ -2415,7 +2304,7 @@ - + TinkerKit Thermistor @@ -2432,7 +2321,7 @@ - + TinkerKit Touch Sensor @@ -2449,7 +2338,7 @@ - + TinkerKit Servo @@ -2468,7 +2357,7 @@ - + TinkerKit Tilt @@ -2484,33 +2373,32 @@ - - + - + - + - + - + - + @@ -2555,7 +2443,7 @@ - + @@ -2574,7 +2462,7 @@ - + @@ -2593,7 +2481,7 @@ - + @@ -2608,7 +2496,7 @@ - + @@ -2681,7 +2569,7 @@ - + @@ -2695,7 +2583,7 @@ - + @@ -2709,7 +2597,7 @@ - + @@ -2723,7 +2611,7 @@ - + @@ -2737,7 +2625,7 @@ - + @@ -2751,7 +2639,7 @@ - + @@ -2765,7 +2653,7 @@ - + @@ -2779,7 +2667,7 @@ - + @@ -2793,7 +2681,7 @@ - + @@ -2807,7 +2695,7 @@ - + @@ -2828,7 +2716,7 @@ - + @@ -2844,7 +2732,7 @@ - + @@ -2860,7 +2748,7 @@ - + @@ -2876,7 +2764,7 @@ - + @@ -2893,7 +2781,7 @@ - + @@ -2910,7 +2798,7 @@ - + @@ -2928,7 +2816,7 @@ - + @@ -2945,7 +2833,7 @@ - + @@ -2962,7 +2850,7 @@ - + @@ -2974,13 +2862,13 @@ - + Read analog value from pin - + @@ -2996,7 +2884,7 @@ - + @@ -3012,7 +2900,7 @@ - + @@ -3028,7 +2916,7 @@ - + @@ -3044,7 +2932,7 @@ - + @@ -3060,7 +2948,7 @@ - + @@ -3076,7 +2964,7 @@ - + @@ -3092,7 +2980,7 @@ - + @@ -3108,7 +2996,7 @@ - + @@ -3124,7 +3012,7 @@ - + @@ -3140,7 +3028,7 @@ - + @@ -3158,7 +3046,7 @@ - + @@ -3175,7 +3063,7 @@ - + @@ -3192,10 +3080,10 @@ - + - + @@ -3206,15 +3094,15 @@ - + - + - + Read analog value from pin @@ -3226,7 +3114,7 @@ - + Read analog value from pin @@ -3258,7 +3146,7 @@ - + @@ -3278,7 +3166,7 @@ - + @@ -3297,7 +3185,7 @@ - + @@ -3316,7 +3204,7 @@ - + @@ -3335,7 +3223,7 @@ - + @@ -3354,7 +3242,7 @@ - + @@ -3373,7 +3261,7 @@ - + @@ -4302,7 +4190,7 @@ - + @@ -4407,7 +4295,7 @@ - + @@ -5100,7 +4988,7 @@ - + @@ -5143,7 +5031,7 @@ - + @@ -5784,7 +5672,7 @@ - + @@ -6000,7 +5888,7 @@ - + @@ -6019,7 +5907,7 @@ - + @@ -6040,7 +5928,7 @@ - + @@ -6058,7 +5946,7 @@ - + @@ -6076,7 +5964,7 @@ - + @@ -6093,7 +5981,7 @@ - + @@ -6109,7 +5997,7 @@ - + @@ -6129,7 +6017,7 @@ - + @@ -6145,7 +6033,7 @@ - + @@ -6164,7 +6052,7 @@ - + @@ -6181,7 +6069,7 @@ - + @@ -6199,7 +6087,7 @@ - + @@ -6215,7 +6103,7 @@ - + @@ -6235,7 +6123,7 @@ - + @@ -6252,7 +6140,7 @@ - + @@ -6268,7 +6156,7 @@ - + @@ -6287,7 +6175,7 @@ - + @@ -6307,7 +6195,7 @@ - + @@ -6324,7 +6212,7 @@ - + @@ -6340,7 +6228,7 @@ - + @@ -6357,7 +6245,7 @@ - + @@ -6375,7 +6263,7 @@ - + @@ -6392,7 +6280,7 @@ - + @@ -6464,7 +6352,7 @@ - + @@ -6482,7 +6370,7 @@ - + @@ -6500,7 +6388,7 @@ - + @@ -6752,7 +6640,7 @@ - + @@ -6887,7 +6775,7 @@ - + @@ -6946,7 +6834,7 @@ - + @@ -6963,7 +6851,7 @@ - + @@ -7253,7 +7141,7 @@ - + @@ -7270,7 +7158,7 @@ - + @@ -7287,7 +7175,7 @@ - + @@ -7304,7 +7192,7 @@ - + @@ -7321,7 +7209,7 @@ - + @@ -7338,7 +7226,7 @@ - + @@ -7355,7 +7243,7 @@ - + @@ -7372,7 +7260,7 @@ - + @@ -7389,7 +7277,7 @@ - + @@ -7406,7 +7294,7 @@ - + @@ -7423,7 +7311,7 @@ - + @@ -7440,7 +7328,7 @@ - + @@ -7457,7 +7345,7 @@ - + @@ -7474,7 +7362,7 @@ - + @@ -7491,7 +7379,7 @@ - + @@ -7508,7 +7396,7 @@ - + @@ -7525,7 +7413,7 @@ - + @@ -7542,7 +7430,7 @@ - + @@ -7559,7 +7447,7 @@ - + @@ -7576,7 +7464,7 @@ - + @@ -7595,7 +7483,7 @@ - + @@ -7614,7 +7502,7 @@ - + @@ -7633,7 +7521,7 @@ - + @@ -7652,7 +7540,7 @@ - + @@ -7671,7 +7559,7 @@ - + @@ -7690,7 +7578,7 @@ - + @@ -7709,7 +7597,7 @@ - + @@ -7728,7 +7616,7 @@ - + @@ -7747,7 +7635,7 @@ - + @@ -7766,7 +7654,7 @@ - + @@ -7785,7 +7673,7 @@ - + @@ -7804,7 +7692,7 @@ - + @@ -8114,7 +8002,7 @@ - + @@ -8136,7 +8024,7 @@ - + @@ -8156,7 +8044,7 @@ - + @@ -8178,7 +8066,7 @@ - + @@ -8200,7 +8088,7 @@ - + @@ -8220,7 +8108,7 @@ - + @@ -8240,7 +8128,7 @@ - + @@ -8260,7 +8148,7 @@ - + @@ -8280,7 +8168,7 @@ - + @@ -8302,7 +8190,7 @@ - + @@ -8322,7 +8210,7 @@ - + @@ -8342,7 +8230,7 @@ - + @@ -8364,11 +8252,11 @@ - + - + @@ -8380,7 +8268,7 @@ - + Flashing Mode @@ -8391,7 +8279,7 @@ - + Fading Mode @@ -8449,7 +8337,7 @@ - + Random Mode @@ -8460,7 +8348,7 @@ - + Single Mode @@ -8471,7 +8359,7 @@ - + high @@ -8482,7 +8370,7 @@ - + low @@ -8493,7 +8381,7 @@ - + high pulse @@ -8504,7 +8392,7 @@ - + low pulse @@ -8656,7 +8544,7 @@ - + @@ -9139,7 +9027,6 @@ program delay delay_microseconds - millis if ifelse while @@ -9151,44 +9038,13 @@ subroutine subroutine-ref - + pin-read-digital pin-read-analog pin-write-digital pin-write-analog - df_servo - df_360_degree_rotation_motor - ultrasonic - df_dht11_temperature - df_dht11_humidity - tone - tone_time - no_tone - DDRA - PORTA - PINA - - - greater - less - equal - greater_equal - less_equal - not_equal - equal_digital - not_equal_digital - equal_poly - not_equal_poly - equal_string - not_equal_string - and - or - not - string_equal - string_empty - string_toInt - + addition subtraction multiplication @@ -9203,10 +9059,21 @@ random_range map - + + greater + less + equal + greater_equal + less_equal + not_equal + equal_digital + not_equal_digital + and + or + not + + number - setter_variable_number_unsigned_long - variable_number_unsigned_long setter_variable_number variable_number setter_variable_digital @@ -9218,436 +9085,33 @@ setter_variable_number_double variable_number_double number_double - setter_variable_char - char - variable_string - setter_variable_String - variable_String - message - create_variable_vector - variable_vector - setter_variable_vector - setter_variable_char - variable_poly - + servo_default - ultrasonic - LCD_I2C_Sainsmart_20by4 - LCD_command_lightOff - LCD_PLL_Sainsmart_16by2 - number-single-I2C-address - number-single-fixed-parallel + tone + tone_time + no_tone + millis - + serial_read serial_print glue_sn glue_sb - glue_poly - ir_setport - ir_getcode - wire_write - wire_read - wire_isread - DuinoEDU_Guino_Read - DuinoEDU_Guino_Slider - DuinoEDU_Guino_switch - DuinoEDU_Guino_pause - DuinoEDU_Guino_Title - DuinoEDU_Guino_column - - - scoop_task - scoop_loop - scoop_sleep - scoop_pin_event - scoop_event_low - scoop_event_high - scoop_event_falling - scoop_event_rising - scoop_event_change - - - eeprom_read_int - eeprom_write_int - eeprom_read_long - eeprom_write_long - eeprom_read - eeprom_write - sd_write2 - - - - - - bleshield - bleshield_available - bleshield_read_poly - bleshield_compare + message code_head code_setup code_loop - + Tinker_LED Tinker_LED_pwm Tinker_Button - Tinker_Accmeter - Tinker_Hall Tinker_LDR - Tinker_LinearPotentiometer - Tinker_RotaryPotentiometer - Tinker_Thermistor - Tinker_Touch - Tinker_Tilt - Tinker_Relay - Tinker_Mosfet - Tinker_Mosfet_pwm - - - df_led - df_led_pwm - df_digital_push_button - df_digital_viberation_sensor - df_analog_rotation_sensor_v1 - df_analog_rotation_sensor_v2 - df_servo - df_360_degree_rotation_motor - df_analog_sound_sensor - df_analog_volume_sensor - df_relay - df_analog_ambient_light_sensor - df_analog_grayscale_sensor - df_buzzer - df_buzzer_tone - df_buzzer_tone_delay - df_capacitive_touch_sensor - df_digital_tilt_sensor - df_digital_infrared_motion_sensor - df_digital_ir_receiver_module - df_adjustable_infrared_sensor_switch - df_line_tracking_sensor - df_joystick_module_button - df_digital_magnetic_sensor - df_pizeo_disk_vibration_sensor - df_flame_sensor df_temperature_sensor - df_joystick_module_x - df_joystick_module_y - df_analog_mma7361_x - df_analog_mma7361_y - df_analog_mma7361_z - df_mma7260_x - df_mma7260_y - df_mma7260_z - df_analog_gp2y0a21 - df_analog_moisture - df_analog_gas_sensor - df_analog_co_sensor - df_analog_voltage_divider - df_piranha_led - df_piranha_led_pwm - panda_i1 - panda_o1 - df_lcd_keypad - bluno_println - bluno_println_number - bluno_println_clear - df_romeo_motors - df_romeo_motor - df_romeo_motor_stop - - - seeed_button - seeed_led - seeed_o2_sensor - seeed_uv_sensor - seeed_single_gyro - seeed_mq9_sensor - seeed_mp3_sensor - seeed_vib_sensor - seeed_loud_sensor - seeed_diff_amp - seeed_ir_temp_sensor - seeed_ir_proximity_sensor - seeed_electricity_sensor - seeed_angle_sensor - seeed_sound_sensor - seeed_moisture_sensor - seeed_temp_sensor - seeed_light_sensor - seeed_voltage_divider - seeed_flame_sensor - seeed_switch - seeed_ir_refl_sensor - seeed_heart_rate_sensor - seeed_chest_heart_sensor - seeed_air_quality_sensor - seeed_line_finder - seeed_pir_motion_sensor - seeed_tilt_switch - seeed_push_button - seeed_water_sensor - seeed_touch_sensor - seeed_mag_switch - seeed_ir_dist_int - seeed_circle_led - seeed_2coil_relay - seeed_dry_relay - seeed_solid_relay - seeed_circle_led - seeed_led_strip - seeed_var_led - seeed_vib - seeed_relay - seeed_joystick - seeed_joystick_button - - - DuinoEDU_Led - DuinoEDU_infrared - DuinoEDU_temp - DuinoEDU_humiPro - DuinoEDU_Ultrasonic - DuinoEDU_Led_Bar - DuinoEDU_LCD_I2C_RGB - DuinoEDU_LCD_I2C_Backlight - DuinoEDU_LCD_I2C_RGB_Clear - DuinoEDU_Oled_I2C - DuinoEDU_Oled_Clear - DuinoEDU_Keypad_12_Button - DuinoEDU_Keypad_Post - DuinoEDU_Keypad_Pwd - DuinoEDU_Digital_Tube - DuinoEDU_Digital_Tube_Ecrire - DuinoEDU_Display_Digital_Tube - DuinoEDU_Digital_Clear - DuinoEDU_Mouse_Xmove - keyboard_post - keyboard_compare - DuinoEDU_Driver_I2C_Forward - DuinoEDU_Driver_I2C_Stop - DuinoEDU_Driver_I2C_Speed_A_Motor - DuinoEDU_shildbot_Forward - DuinoEDU_shildbot_Stop - DuinoEDU_shildbot_Speed_Motor - DuinoEDU_shildbot_Read - DuinoEDU_Aix_Acc_mesurerX - DuinoEDU_Partie_Emetteur - DuinoEDU_Partie_Recepteur - DuinoEDU_Rfid_Write - DuinoEDU_Rfid_Test - DuinoEDU_Rfid_Read - DuinoEDU_Rfid_Clear - DuinoEDU_neopixel_init - DuinoEDU_neopixel_pixel_colorRGB - DuinoEDU_neopixel_show - DuinoEDU_neopixel_Brightness - DuinoEDU_neopixel_Clear - DuinoEDU_stepper_step - DuinoEDU_stepper_setSpeed - DuinoEDU_matrice_write - DuinoEDU_matrice_Brightness - DuinoEDU_matrice_clear - DuinoEDU_Servo_Plus - DuinoEDU_Nunchuck_BoutonC - DuinoEDU_Barometer_Pression - DuinoEDU_MP3_Player - DuinoEDU_MP3_Pause - - - ada_dc_motor_fwd - ada_dc_motor_bwd - ada_dc_motor_release - ada_neopixel_init - ada_neopixel_pixel_colorRGB - ada_neopixel_show - ada_neopixel_Brightness - - - me_ultrasonic_sensor - me_linefinder - me_limitswitch - me_shutter - me_motordriver - me_servodriver - me_stepper_motor - me_infraredreceiver - me_bluetooth_read - me_bluetooth_write - me_bluetooth_commands - me_bluetooth_command - me_port_1 - me_motor_1 - me_shutter_1 - - - - insectbot_get_distance - insectbot_is_indanger - insectbot_go_forward - insectbot_go_backright - insectbot_turn_left - insectbot_blink_led - - - - iDrawing_set_para - iDrawing_run - iDrawing_rule_start - iDrawing_rule_stop - iDrawing_rule_sleep - - iDrawing_trigger_time - iDrawing_trigger_dpin - iDrawing_trigger_apin - - iDrawing_actuator_led - iDrawing_actuator_playermini - iDrawing_actuator_dpin - - port_pin_name - led_mode_flash - led_mode_fade - player_mode_random - player_mode_single - output_mode_high - output_mode_low - output_mode_highpulse - output_mode_lowpulse - trigger_equal - trigger_greater - trigger_less - - - - little_bits_bendsensor - little_bits_button - little_bits_dimmer - little_bits_lightsensor - little_bits_lighttrigger - little_bits_microphone - little_bits_motiontrigger - little_bits_pressuresensor - little_bits_pulse - little_bits_remotetrigger - little_bits_rollerswitch - little_bits_slidedimmer - little_bits_slideswitch - little_bits_soundtrigger - little_bits_timeout - little_bits_toggleswitch - little_bits_mix - little_bits_oscillator - little_bits_random - little_bits_bargraph - little_bits_brightled - little_bits_dcmotor - little_bits_fan - little_bits_ir_led - little_bits_led - little_bits_lightwire - little_bits_longled - little_bits_number - little_bits_rgbled - little_bits_uvled - little_bits_vibration_motor - little_bits_synthspeaker - - - - - ke-motor-run - ke-motor-setmoto - ke-motor-stop - ke-tft-print - ke-tft-add - ke-tft-clear - ke-eye-minvalue - ke-eye-minindex - ke-eye-maxvalue - ke-eye-maxindex - ke-button-getbutton - ke-encoder-clear - ke-encoder-getencoder - ke-compass - ke-buzzer - ke-relays - ke-led-on-off - ke-led-pwm - ke-touch - ke-ground-light - ke-light - ke-photo - ke-potentiometer - ke-tempe - ke-psd - ke-servo - - - - midi_command - - - - - -