Skip to content

Commit

Permalink
fixing serial println that broke xbee comm. fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
5v3n committed Jun 8, 2013
1 parent 0c83eb1 commit 9384b1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arduino/ratpack_xbee_wifly/ratpack_xbee_wifly.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down
Binary file modified fritzing/ratpack_xbee_wifly.fzz
Binary file not shown.
Binary file added fritzing/ratpack_xbee_wifly.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9384b1e

Please sign in to comment.