This is the code repo for the badge. This is written for the AVR microcontroller and has been adapted from the decawave sample code.