This is doing a couple things at the same time:
- Change detection on the sensor
- Updating the screen
Look into the built-in state change detection example, and consider put the screen updating in the counting part.
This is doing a couple things at the same time:
Look into the built-in state change detection example, and consider put the screen updating in the counting part.