Mocks the IO communication of an actual sensor hardware. Stores a cached value for the pin and simply updates it with the 'write' calls. The value is 0 at the beginning.
Returns the internally cached value.
Writes on the internally cached value.
Generated using TypeDoc
Mocks the IO communication of an actual sensor hardware. Stores a cached value for the pin and simply updates it with the 'write' calls. The value is 0 at the beginning.