Running Demo Code
To run the demo code, perform the following on VisionFive 2 Debian:
-
Locate to the directory where the test code, LED_Matrix.py,
exists:
-
Under the sample-code directory, execute the following command to
run the demo code:
sudo python LED_Matrix.py
Alternatively, you can execute the following command:
sudo python3 LED_Matrix.py
Result:The Led Matrix module displays with the StarFive logo.