- Random sparkles - uses the Sense HAT (hardware)
- Random sparkles (variations) - can be used with Sense HAT (hardware), or the desktop or web-based emulator
-
If using the Sense HAT, connect it to the Pi before booting up.
-
If using the Trinket emulator, run
sense.clear()
before starting:from sense_hat import SenseHat sense = SenseHat() sense.clear()
then delete the code and let the user start from scratch.
- Be careful with capitalisation in Python!
- Make sure all required modules are imported at the top of the file at each stage.