- Author
- Max Houwing
- Date
- November 26th, 2015
This class handles all of the communication of the xCPS system. Usage of this class is not necessary, since all of the component classes contain code that writes to and reads from this class already. There are two methods that handle writing: writeOutput_add and _sub. This has been done to avoid passing an argument that controls what the function needs to do, instead there is one function for adding to the current output of the system (_add) and one for removing a bit from the output (_sub). Furthermore, the readInput method returns the entire bit stream of that particular channel number, leaving it up to user to retrieve the relevant bit.
- Warning
- It is strongly advised to not use this class, and instead using the (other) component classes to write, and the sensor_isUp() method (or relevant function inside a component class) to read.