Examples of pure Python props using pygame.
The Pygame framework is easy to use and is powerful for:
- audio and video output
- simultaneous sounds
- keyboard, mouse and joystick input
- video games
- sensors and actuators (GPIO and I2C shields)
The Pygame framework (see pygame.org) is very popular and very easy to learn so the PygameProp flavor may be your preferred choice most of the time.
Pygame has its own event loop to multitask seamlessly.
PygameProp adds MQTT asynchronous messaging to the Pygame framework to facilitate your coding.
You will find installation and usage instructions in the PyProps library INSTALLATION.md
Pygame props
- educational blink example (PygameBlinkProp)
- piano prop with a mechanic piano (PygamePianoProp)
- podium with linear jack (PygamePodiumProp)
- hacker intrusion puzzle (contact me)
- Tetris hacked (contact me)
Faure Systems (Mar 30th, 2020)