https://github.com/ff6347/soda
A Arduino library for 7 segment LED
https://github.com/ff6347/soda
Last synced: about 1 year ago
JSON representation
A Arduino library for 7 segment LED
- Host: GitHub
- URL: https://github.com/ff6347/soda
- Owner: ff6347
- License: mit
- Created: 2013-12-16T20:02:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T08:06:24.000Z (over 2 years ago)
- Last Synced: 2025-01-24T18:35:18.274Z (over 1 year ago)
- Language: Arduino
- Size: 563 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Soda
====
A Arduino library for 7 segment LED
This library was made by [Quin](https://github.com/Qtechknow/Arduino-Libraries), the head engineer at Qtechknow. He made this specifically for using with 7-segment displays. Share, distribute, and edit for your specific uses. This is an open-source library.
Some edits done by @fabiantheblind
I had to pull it into a new repo for better usage. Also I made some major changes to the usage of the pinlayout. See [Quin's original work here.](https://github.com/Qtechknow/Arduino-Libraries)
Functions:
Soda soda;
Initiates the library.
soda.pins(int a, int b, int c, int d, int e, int f, int g, int dp);
Declares and sets up the pins.
soda.write(int number);
Lights up int number on the 7-Segment display.
soda.setDecimalPoint(int digit, boolean decimalState);
Sets the decimal point of int digit to boolean decimalState.
Hook the decimal display up like this:

