Atmel AVR C code for Manchester Encoding.