Module Display
source code
Class that represents a 7-segment display attached to the I2C port.
This software is part of the raspibrick module.
It is Open Source Free Software, so you may
- run the code for any purpose
- study how the code works and adapt it to your needs
- integrate all or parts of the code in your own programs
- redistribute copies of the code777
- improve the code and release your improvements to the public
However the use of the code is entirely your responsibility.
The 7 segments have the following binary values
1
-
32 | |2
64
-
16 | |4
-
8
The decimal points use value 128 with digit 1, 2 or 3
|
Display
Abstraction of the 4 digit 7-segment display attached to the I2C
port.
|