diff --git a/arduino/ratpack_xbee_wifly/ratpack_xbee_wifly.ino b/arduino/ratpack_xbee_wifly/ratpack_xbee_wifly.ino index 0786a46..270a655 100644 --- a/arduino/ratpack_xbee_wifly/ratpack_xbee_wifly.ino +++ b/arduino/ratpack_xbee_wifly/ratpack_xbee_wifly.ino @@ -29,7 +29,7 @@ void setup(){ //------------------------ led setup ------------------------ pinMode(ledPin, OUTPUT); //------------------------ button setup ------------------------ - pinMode(buttonPin, INPUT); + pinMode(buttonPin, INPUT); //------------------------ wifly setup ---------------------------------- Serial.begin(9600); WiFly.setUart(&Serial); @@ -58,7 +58,6 @@ void loop() { client.stop(); } else if(digitalRead(buttonPin) == HIGH){ - Serial.println("local arduino says: Button IS pressed!"); //--------- send status to server connectClient(generateHttpPut(HOST, RESOURCE, '1')); client.stop(); diff --git a/fritzing/ratpack_xbee_wifly.fzz b/fritzing/ratpack_xbee_wifly.fzz index 03e51c4..039921a 100644 Binary files a/fritzing/ratpack_xbee_wifly.fzz and b/fritzing/ratpack_xbee_wifly.fzz differ diff --git a/fritzing/ratpack_xbee_wifly.jpg b/fritzing/ratpack_xbee_wifly.jpg new file mode 100644 index 0000000..aa6b6ef Binary files /dev/null and b/fritzing/ratpack_xbee_wifly.jpg differ