RadioLib
Universal wireless communication library for Arduino
|
Client for audio-based transmissions. Requires Arduino tone() function, and a module capable of direct mode transmission using DIO pins. More...
#include <AFSK.h>
Public Member Functions | |
AFSKClient (PhysicalLayer *phy, RADIOLIB_PIN_TYPE pin) | |
Default contructor. More... | |
int16_t | begin () |
Initialization method. More... | |
int16_t | tone (uint16_t freq, bool autoStart=true) |
Start transmitting audio tone. More... | |
int16_t | noTone () |
Stops transmitting audio tone. More... | |
Friends | |
class | RTTYClient |
class | MorseClient |
class | HellClient |
class | SSTVClient |
class | AX25Client |
class | FSK4Client |
Client for audio-based transmissions. Requires Arduino tone() function, and a module capable of direct mode transmission using DIO pins.
AFSKClient::AFSKClient | ( | PhysicalLayer * | phy, |
RADIOLIB_PIN_TYPE | pin | ||
) |
Default contructor.
phy | Pointer to the wireless module providing PhysicalLayer communication. |
pin | The pin that will be used for audio output. |
int16_t AFSKClient::begin | ( | ) |
Initialization method.
int16_t AFSKClient::noTone | ( | ) |
Stops transmitting audio tone.
int16_t AFSKClient::tone | ( | uint16_t | freq, |
bool | autoStart = true |
||
) |
Start transmitting audio tone.
freq | Frequency of the tone in Hz. |
autoStart | Whether to automatically enter transmission mode. Defaults to true. |