First version of sensor firmware: debugging with LEDs and serial port, no networking