User Manual
Table Of Contents
VMP502
V. 02 – 25/10/2019 29 ©Velleman nv
Experiment
C Programming
1. Change directory:
cd/home/pi/IDUINO_SuperKit_C_code_for_RaspberryPi/10_74HC595_LED/
2. Compile:
gcc 74HC595_LED.c –o 74HC595_LED –lwiringPi
3. Run:
sudo ./74HC595_LED
Python Programming
1. Change directory:
cd/home/pi/IDUINO_SuperKit_Python_code_for_RaspberryPi/
2. Run:
sudo python 10_74HC595_LED.py
You should see eight LEDs blinking regularly.
Here, three Raspberry Pi
®
GPIOs are used to separately control eight LEDs based on the 74HC595. The
74HC595 has another powerful function: cascade. With cascade, you can use a microprocessor like three
Raspberry Pi
®
IOs to control more peripherals.
Programming
C Programming










