taweili / ardublock

ArduBlock is a Block Programming Language for Arduino.
GNU General Public License v3.0
413 stars 292 forks source link

add an xbee block #104

Open mannou21 opened 10 years ago

mannou21 commented 10 years ago

I am trying to add an xbee block ( xbee receivers ,xbee transmitter) I made the modification on the ardublock.xml ,ardublock.properties,ardublock_fr.properties then I used those setup : Xbee Writer: void setup { serial.begin(9600); } void loop{ serial.println(" this is a msg from arduino " ); delay(1000); }

Xbee reader: void setup { serial.begin(9600); } void loop{ if(serial.available() > 0) {Serial.write(Serial.read()); } } but it doesn't work