User Manual

64
For C language users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_C_code_for_RaspberryPi/12_DotMatrix/
Step 3: Compile
gcc dotMatrix.c -o dotMatrix -lwiringPi
Step 4: Run
sudo ./dotMatrix
For Python users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_Python_code_for_RaspberryPi/
Step 3: Run
sudo python 12_DotMatrix.py
You should see LEDs light up as you control.
Summary
Through this lesson, you have got the basic principle of LED dot matrix and how to program
the Raspberry Pi to drive an LED dot matrix based on 74HC595 cascade. With the
knowledge learnt, try more fascinating creations!