Update examples, minimize code size

- Updated some example files and tests
- Small changes to minimize code size
This commit is contained in:
TMRh20
2014-04-15 09:40:36 -06:00
parent 5fabf2608a
commit e83a107bdf
12 changed files with 97 additions and 146 deletions
@@ -102,12 +102,14 @@ void loop(void)
// Listen for a little
radio.startListening();
delayMicroseconds(128);
radio.stopListening();
delayMicroseconds(225);
// Did we get a carrier?
if ( radio.testCarrier() )
if ( radio.testCarrier() ){
++values[i];
}
radio.stopListening();
}
}
@@ -121,4 +123,4 @@ void loop(void)
printf("\n\r");
}
// vim:ai:cin:sts=2 sw=2 ft=cpp
// vim:ai:cin:sts=2 sw=2 ft=cpp