Documentation concerning code and connections between the Arduino unit and the Raspberry Pi local server. This documentation will include the state machine.
Latest version of files (Arduino + Pi) as of 2018-04-23 at 9:15pm by Erez:
Low resolution images of Version 1 and Version 2 state machine diagrams. Links to high resolution versions of each are below these.