testing the mote state machine
fixing scan (wrong index in use)
using mote state machine and new float to string conv