The emulator comes in two parts; a mock for the machine
library, and a mock for the neopixel
library. Both should be imported as shown in main.py
.
To run the real-time visualiser:
cd
into theemulator
library.- If you have not already, create a virtual environment and install
pygame
. If you have, activate it. - Run the command
python ../main.py | python visualiser.py
- Sit back and watch the pretty lights!