Modified aJSON.cpp so it compiled in our system. We removed the AVR reference. We also added JSON code to readin JSON formatted string.
Added code to handle the status JSON element.
Added board state data structure and initialization routines.
Added setBoardState function. We need to test it.
Added a function getJsonBoardState, which will use the board's status data structure to create a JSON object to send to the front end.
We can now add objects to an object into the JSON structure.
Added all JSON pin objects to the message.
Populated all the pin's attributes into the JSON string for every pin.
Populated all the pin's attributes into the JSON string for every pin. Added code in the WebSocket polling loop to send JSON strings to the clients.
Moved the JSON sending code to the pooling loop and added a serial command capability to choose between old code and new code.
Created a function called sendStatusToWebsiteNew() for debugging.
Fixed a pointer casting problem.
Changed protocol name from 'touchserver-protocol' to 'hardware-state-protocol' and normalized the sensor values.