[RTTY] Automatically turn off transmitter

This commit is contained in:
jgromes 2019-05-28 19:23:46 +02:00
parent f2c1895cdb
commit 9582fd186e
2 changed files with 4 additions and 5 deletions

View file

@ -5,11 +5,11 @@
FSK modem. FSK modem.
Other modules that can be used for RTTY: Other modules that can be used for RTTY:
- SX1272/73/76/77/79 - SX127x/RFM9x
- RF69 - RF69
- SX1231 - SX1231
- CC1101 - CC1101
- SX1262/68 - SX126x
*/ */
// include the library // include the library
@ -112,9 +112,6 @@ void loop() {
float f = -3.1415; float f = -3.1415;
rtty.println(f, 3); rtty.println(f, 3);
// turn transmitter off
fsk.standby();
Serial.println(F("done!")); Serial.println(F("done!"));
// wait for a second before transmitting again // wait for a second before transmitting again

View file

@ -184,6 +184,8 @@ size_t RTTYClient::write(uint8_t b) {
mark(); mark();
} }
_phy->standby();
return(1); return(1);
} }