HT1621B Segment LED Example Code for RaspberryPi
HT1621B Segment LED Example Code for RaspberryPi
I ported from here.
HT1621B | RaspberryPi | |
---|---|---|
DATA | -- | GPIO17(#11) |
RW | -- | GPIO18(#12) |
CS | -- | GPIO27(#13) |
VCC | -- | 5V |
GND | -- | GND |
(*)You can change to other GPIO.
#define DATA 0
#define RW 1
#define CS 2
cc -o ts206 ts206.c -lwiringPi
cc -o ts119 ts119.c -lwiringPi
cc -o ts125 ts125.c -lwiringPi