requirements.txt
- Python dependencies required for this chapter
version1_eventloop
- Folder with Event-Loop version of code
main.py
- Main programBUTTON.py
- Button ClassLED.py
- LED ClassPOT.py
- Pot (Potentiometer) Classversion2_threads
- Folder with Thread & Callback version of code
main.py
- Main programBUTTON.py
- Button ClassLED.py
- LED ClassPOT.py
- Pot (Potentiometer) Classversion3_pubsub
- Folder with Publisher-Subscriber version of code
main.py
- Main programBUTTON.py
- Button ClassLED.py
- LED ClassPOT.py
- Pot (Potentiometer) Classversion4_asyncio
- Folder with Asynchronous IO (AsyncIO) version of code
main.py
- Main programBUTTON.py
- Button ClassLED.py
- LED ClassPOT.py
- Pot (Potentiometer) Classversion5_eventloop2
- Folder with an non-functioning Event-Loop version of code
main.py
- Main program (Python 3.5)main_py37.py
- Main program (Python 3.7+ Only)BUTTON.py
- Button ClassLED.py
- LED ClassPOT.py
- Pot (Potentiometer) ClassVERSION 5 IS NOT EXPECTED TO WORK. THE REASON IS DISCUSSED IN THE BOOK