Raspberry Pi Pico Morse Code Library
This Morse Code library allows the programmer to generate Morse Code via a GPIO pin.
Clone the library to your project:
git clone https://github.com/basepr1me/Raspberry-Pi-Morse-Code.git
Three class instantiation methods are in place:
Morse(TYPE, PIN, TX_PAUSE);
Morse(TYPE, PIN, TX_PAUSE, WPM);
Morse(TYPE, PIN, TX_PAUSE, WPM, FREQ);
Types available are:
M_GPIO // GPIO Pin Type
M_DAC // PWM Output
Pro-sign Morse Code can be generated using backticks:
cont char *led_morse = "Hello giant world `ar`";
To set the WPM, two functions are available:
gpio_set_wpm(WPM);
dac_set_wpm(WPM);
See the Morse Example file for more information.
The make.sh file is designed for OpenBSD ksh.
If you like this software, consider donating.
See the License file for more information.