Removed debug LED, improved debug mode
Moved transmit code to common file. Badges now transmit code, not tested