This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| pt:software:homelab:library:module:segment_display [2015/12/09 16:20] – Criação deste novo documento. artica | pt:software:homelab:library:module:segment_display [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| // | // | ||
| - | This library is intended to use a 7-segment | + | Esta biblioteca serve para usar o LED display |
| - | ===== Functions | + | ===== Funções |
| * **//void segment_display_init(void)// | * **//void segment_display_init(void)// | ||
| - | | + | |
| * **//void segment_display_write(unsigned char digit)//** \\ | * **//void segment_display_write(unsigned char digit)//** \\ | ||
| - | | + | |
| - | * //digit// - Number value from 0 to 9. Any other case E like "error" | + | * //digit// - Valor entre 0 e 9. Qualquer outro será mostrado como "E" |
| - | ===== Example | + | ===== Exemplo |
| - | Number | + | O número |
| <code c> | <code c> | ||