Running Demo Code
To run the demo code, perform the following on VisionFive 2 or VisionFive 2 Lite 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.pyAlternatively, you can execute the following command:
sudo python3 LED_Matrix.pyResult:The Led Matrix module displays with the StarFive logo.
Figure 1. Example Output
-
(Optional) Exit the Python3 Virtual Environment.
deactivate
