Module TM1638

On le trouve pour moins de deux euros sur Ebay

Bibliothèque

https://github.com/rjbatista/tm1638-library

Exemple :

C

Procédures et fonctions

Instantiate a tm1638 module specifying the display state, the starting intensity (0-7) data, clock and stobe pins.

C

Set the display to a unsigned hexadecimal number (with or without leading zeros)

C

Set the display to a unsigned decimal number (with or without leading zeros)

C

Set the display to a signed decimal number (with or without leading zeros)

C

Set the display to a unsigned binary number

C

Set the LED at pos to color (TM1638_COLOR_RED, TM1638_COLOR_GREEN or both)

C

Set the LEDs. MSB byte for the green LEDs, LSB for the red LEDs

C

Returns the pressed buttons as a bit set (left to right).

C

Set the display (segments and LEDs) active or off and intensity (range from 0-7).

C

Set a single display at pos (starting at 0) to a digit (left to right)

C

Set the display to an error message

C

Clear a single display at pos (starting at 0, left to right)

C

Set the display to the values (left to right)

C

Clear the display

C

Set the display to the string (defaults to built in font)

C

Set the display to the String (defaults to built in font)

C

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *