Code for a temperature sensor which publishes temperatures over a 2.4GHz radio