The sketch.ino file is an easy 200 lines C++ source code that is supposed to work as a slave. Main purposes are:
- read the current values of the sensors and provide them to the upper layer;
- read the current values of the outputs and provide them to the upper layer;
- get, from the upper layer, the expected status of the outputs and operate to address the request.