Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sevensegment

Golang module for controlling the Adafruit seven segment LED display with backpack (HT16K33 i2c), using golang's periphio.

Note this was developed for use on a raspberry pi.

Examples of how to use are in example.go which does some simple tasks such as displaying numbers digits at specific positions, displaying a number up to 9999, letters, particular segments and setting the brightness.

eg. (assuming device addr on i2c bus is 0x70)

go mod init main
go run example.go

References and links

periphio (i2c)
https://periph.io/
https://godoc.org/periph.io/x/periph/conn/i2c

Adafruit LED backpack HT16k33 datasheet (info about commands/settings for the HT16K33)
https://cdn-shop.adafruit.com/datasheets/ht16K33v110.pdf

Adafruit LED backpack C/C++ library
https://github.com/adafruit/Adafruit_LED_Backpack

About

Golang module for controlling the Adafruit seven segment LED display with backpack (ht16K33 i2c)

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages