Commit Briefs

f4adaaf6a6 Tracey Emery

Add new flag to differentiate between a scheduled transmit and when Morse code (main, tags/1.0.6)

is actually being sent. This was not a bug, but an oversight in an actual transmission where the PTT was triggered when the scheduled transmit was set.


ac3f5f53b3 Tracey Emery

fix copyright date


154fab3f4d Tracey Emery

fix size error on callback struct (tags/1.0.5)


6ce605dadc Tracey Emery

add ability to set wpm. based on ESP32 diff from OM0WT (tags/1.0.4)


f184fbbd2c Tracey Emery

update README


cbbcb800b0 Tracey Emery

update README (tags/1.0.3)


b80acd6a41 Tracey Emery

add pwm output


87b91c488b Tracey Emery

improve memory handling and stop feature (tags/1.0.2)


3017525684 Tracey Emery

update README (tags/1.0.1)


f9806fad47 Tracey Emery

set stuff static (tags/1.0.0)


Branches

Tags

Tree

.gitignorecommits | blame
CMakeLists.txtcommits | blame
LICENSE.mdcommits | blame
README.mdcommits | blame
libmorse.cppcommits | blame
libmorse.hcommits | blame
license.txtcommits | blame
make.sh*commits | blame
morse.cppcommits | blame

README.md

# Raspberry Pi Pico Morse Code

Raspberry Pi Pico Morse Code Library

This Morse Code library allows the programmer to generate Morse Code via a GPIO
pin.

Usage
-----

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);

Example
-------

See the [Morse Example](morse.cpp) file for more information.

Notes
-----

The make.sh file is designed for OpenBSD ksh.

Author
------

[Tracey Emery](https://github.com/basepr1me/)

If you like this software, consider [donating](https://k7tle.com/?donate=1).

See the [License](LICENSE.md) file for more information.