Skip to content

nopnop2002/Raspberry-HT1621B

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry-HT1621B

HT1621B Segment LED Example Code for RaspberryPi

I ported from here.

Software requiment

  • WiringPi Library
    This project uses the wiringPiSetup() function to initialize GPIOs.
    If you use it on a board other than the RPI board, you may need to change the WiringPi number.
    As far as I know, there are these libraries.
    • WiringPi for OrangePi
    • WiringPi for BananaPi
    • WiringPi for NanoPi
    • WiringPi for Pine-64

Wireing

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

TS206

cc -o ts206 ts206.c -lwiringPi ts206-seg6

TS119

cc -o ts119 ts119.c -lwiringPi ts119-12

TS125

cc -o ts125 ts125.c -lwiringPi ts125-17

About

HT1621B Segment LED Example Code for RaspberryPi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published