led_7seg.h File Reference
Go to the source code of this file.
Data Structures | |
| struct | SevenSeg |
| Context data for Display functions. More... | |
Functions | |
| int | sevenseg_print (SevenSeg *SS, const char *sstring) |
| Print a string on the display. | |
| void | sevenseg_init (SevenSeg *SS) |
| initialize the structure and the timer for the display | |
| bool | sevenseg_isReady (SevenSeg *SS) |
| check if is possible to do a new print | |
| bool | sevenseg_unlock (SevenSeg *SS) |
| unlock the SevenSeg structure and stops the print | |
| bool | sevenseg_lock (SevenSeg *SS) |
| lock the SeveSeg structure and starts a new print | |
| bool | sevenseg_setBlink (SevenSeg *SS, bool blink, uint8_t digit) |
| set the blinking of the digits of the display | |
| bool | sevenseg_setRunonce (SevenSeg *SS, bool runonce) |
| set if the text has to be displayed just one time | |
| bool | sevenseg_setRunspeed (SevenSeg *SS, unsigned int r_speed) |
| set the scrolling speed of the text | |
| bool | sevenseg_clear (SevenSeg *SS) |
| clear the display | |
Detailed Description
Definition in file led_7seg.h.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)