Permalink
Browse files

revert to pure Bencode, no newlines in between

  • Loading branch information...
1 parent 240d592 commit cf352a584d2d240a53c159b2416c505729a1daa7 @jcw committed Oct 4, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 examples/blinky/blinky.ino
View
4 examples/blinky/blinky.ino
@@ -29,30 +29,26 @@ static void sendGreeting () {
encoder.push("blinky");
encoder.push(VERSION);
encoder.endList();
- Serial.println();
}
static void sendErrorMsg (const char* msg) {
encoder.startList();
encoder.push(1); // error code
encoder.push(msg);
encoder.endList();
- Serial.println();
}
static void sendDoneMsg () {
encoder.startList();
encoder.push("done");
encoder.endList();
- Serial.println();
}
void sendTriggerTime () {
encoder.startList();
encoder.push("time");
encoder.push(millis());
encoder.endList();
- Serial.println();
}
static void setNumber (int& ivar) {

0 comments on commit cf352a5

Please sign in to comment.