1
0
mirror of https://github.com/cclassic/hcs12ss59t synced 2024-11-21 09:55:05 +01:00
An AVR C Library for the HCS12SS59T vacuum fluorescent display
Go to file
2018-03-24 18:00:48 +01:00
.gitignore Add gitignore 2018-01-13 11:56:48 +01:00
hcs12ss59t.c Add peak indicators to the bar graph 2018-03-24 18:00:48 +01:00
hcs12ss59t.h Add peak indicators to the bar graph 2018-03-24 18:00:48 +01:00
LICENSE Initial commit 2017-12-31 13:53:27 +01:00
main.c Initial commit 2017-12-31 13:53:27 +01:00
Makefile Initial commit 2017-12-31 13:53:27 +01:00
README.md Add README.MD 2018-01-03 16:26:16 +01:00
vfd_fun.c Initial commit 2017-12-31 13:53:27 +01:00
vfd_fun.h Initial commit 2017-12-31 13:53:27 +01:00

HCS12SS59T AVR Library

An AVR C Library for the HCS12SS59T vacuum fluorescent display.

Files

  • hcs12ss59t.h, hcs12ss59t.c: Display library (only basic functionality)
  • vfd_fun.c, vfd_fun.h, main.c: Demo code. vfd_fun just provides some transition effects.

Usage

  1. Include hcs12ss59t.h, and add hcs12ss59t.c to your source file list
  2. Call hcs12ss59t_init()
  3. Call hcs12ss59t_set_text(<12 ch. ASCII string>) to ASCII text or hcs12ss59t_set_buffer() to set the raw data according to the display's codes.
  4. Call hcs12ss59t_set_brightness(<0 - 15>) to adjust the brightness

Compiling the demo

  1. Check the processor and clock speed in the Makefile
  2. Run make, this will generate the main.hex file
  3. Run make program or flash the hex file manually

Hardware

Thanks to qrti for his research into this display. You can find info on how to connect and drive the display on his GitHub project. It also includes an Arduino library. https://github.com/qrti/VFD-HCS-12SS59T