Skip to content

Arduino driver for 1 to 5 digits of 7 segments display modules, based on the SC1628D chip.

License

Notifications You must be signed in to change notification settings

pcorbes/SC1628D

Repository files navigation

SC1628D

 Arduino library for SC1628D LED Driver IC

Description

An Arduino library for 5-digit 7-segments display modules, based on the SC1628D chip. The SC1628D chip also has keyboard input capability also implemented in this library. This library supports screen orientation, custom fonts

Hardware Connection

The display modules has three signal connection (and two power connections) which are STB, CLK and DIO. These pins can be connected to any digital pins on the Arduino. When an object is created, the pins should be configured. There is no limitation on the number of instances used concurrently (as long as each instance has a pin pair of its own)

Installation

The library is installed as any Arduino library, by copying the files into a directory on the library search path of the Arduino IDE

Usage

The library provides a single class named SC1628D. An instance of this class provides the following functions:

  • clear - Clear screen
  • displayDigit - Set a digit
  • displayDigits - Display a one to four numbers plus lights
  • displaySegment - Set a digit's segments using a mask
  • displaySegments - Display a one to five digit's segments
  • setBrightness - Sets the brightness of the display
  • setFont - Use your custom font
  • setFilter - Give a custom function to communicatre with another display

The information given above is only a summary. Please refer to SC1628D.h for more information. An example is included, demonstrating the operation of most of the functions.

About

Arduino driver for 1 to 5 digits of 7 segments display modules, based on the SC1628D chip.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages