Tuesday, November 3, 2009

Generating Morse (CW) with Atmel Microcontrollers

As part of my qrpTracker project, I made a morse code signaling library for the Arduino. It uses callback functions so that the person using the library can specify exactly what happens when the signal goes 'on' and 'off'. It foregoes any sort of clever data-packing to store the dits and dahs and just calls functions within a long 'switch statement', an arrangement that I find more readable and just as compact after compiler optimization.

This library is more suited for integration into a larger project. For really small beacons, I like Alan VK2ZAY's  code posted in his 80m beacon project page, operating on a ATtiny13V! This was mentioned in a comment to a brainwagon posting regarding Arduino CW code.

No comments:

Post a Comment