Module Disp4tronix
[hide private]
[frames] | no frames]

Module Disp4tronix

source code


Class that represents a 7-segment display from 4tronix 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

The digigs are multiplexed (refreshed one after the other). So some flickering
may happen when the CPU is highly loaded.

Classes [hide private]
  Disp4tronix
Abstraction of the 4 digit 7-segment display from 4tronix attached to the I2C port.
  DisplayThread
  TickerThread
  BlinkerThread