Use the Source, Luke!

It is always nice to have the source code with you.

K3NG kindly announces that It’s open source code so you can fully customize it to fit your needs and also perhaps learn from it or find coding ideas for other projects.

So here comes my learning process…

% wc k3ng_keyer.ino
9911  28900 339911 k3ng_keyer.ino

But the main program, k3ng_keyer.ino, has almost 10k lines, so you may hesitate to dive into the code.

gccegg-65

If you comment out all the #define FEATURE_SOMETHING lines, and run the gcc preprocessor only (use -E option) to delete the #ifdef #endif stuff, there remains only 2268 lines, and the main part of the program looks like:

capture_001_05112014_183730

Now, you are tempted to use the source!

Some parts which I found to be interesting are:

capture_002_05112014_195833

capture_004_05112014_200218