linguini1 opened a new pull request, #3653: URL: https://github.com/apache/nuttx-apps/pull/3653
## Summary I wrote a Morse code library based on the structure used by `rtttl-c` and included it into the NuttX build systems as a library. Then, I created a command-line application that plays a user string as Morse code, either to the console or over a GPIO device (for now, more devices can be added later). There is a twin PR to the kernel with documentation and `sim:txmorse` config. Here are the commits: ### examples/txmorse: Example application for transmitting Morse code Adds an example application leveraging the Morsey library for transmitting Morse code, either to the console (debug) or to GPIO devices for now as the two supported sinks. ### audioutils/morsey: Add the Morsey library This commit adds the Morsey library (Apache 2.0 licensed) to be downloaded from an external repository so it can be used in NuttX applications. This library parses ASCII text into Morse code marks to be played by a user-implemented 'transmit' function (i.e. over an LED, buzzer, audio sink, etc.). ## Impact Morse code can be transmitted easily on NuttX. ## Testing Tested the application and library by transmitting to the console. I also put the application on my [Peanut Altimeter](https://github.com/linguini1/peanut) and had it play Morse code over the buzzer. I confirm that it sounds correct, translation works and that the transmission speed configuration works. ```console nsh> txmorse "sos sos sos" ... --- .../... --- .../... --- ... nsh> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
