C code for emulator between iambic paddle & keyer, AVR Butterfly