update examples

This commit is contained in:
Morgan Redfield
2018-07-03 16:02:21 -07:00
parent a9f3380f85
commit 176814bc98
7 changed files with 14 additions and 3 deletions

View File

@@ -139,11 +139,13 @@ void loop() {
if (Serial.available()) {
code = char2code(Serial.read());
if (code == 255) code = 0xE; // throw a * in there so we don't break things with an invalid code
radio.setDTMFCode(code); // set first
} else {
dtmf_to_tx = false;
}
}
delay(20); // make sure the last code is done
// done with tone
radio.setModeReceive();
radio.setTxSourceMic();