Use input detection instead of busy wait
This commit is contained in:
@@ -74,4 +74,6 @@ That's it, the display is ready to use.
|
||||
* `sudo python demo.py`
|
||||
|
||||
## Next step
|
||||
The Python code in this repo is adopted from `demo.py` provided by the manufacturer, which is no good for 'production' use. Because your Pi will be too busy looking for button inputs instead of doing anything else useful... Working on a better version...
|
||||
The original Python code in this repo is adopted from `demo.py` provided by the manufacturer, which is no good for 'production' use. Because your Pi will be too busy looking for button inputs instead of doing anything else useful.
|
||||
|
||||
The latest version utilize GPIO input detection instead of busy wait, which is much more reasonable CPU-wise.
|
||||
Reference in New Issue
Block a user