reworked sensor microcontroller interface to be cleaner and easier to maintain\nThese changes have only been applied to the debugging interface, still needs to be applied to main interface