![]() |
LED7Seg
1.00
LED 7-segment library
|
Macros. More...
Macros | |
#define | LED_GET_FONT(font, c) ((enum led_seg)(((c) < sizeof(font)) ? pgm_read_byte_near(font + (c)) : (c))) |
Get Font Mask. More... | |
#define LED_GET_FONT | ( | font, | |
c | |||
) | ((enum led_seg)(((c) < sizeof(font)) ? pgm_read_byte_near(font + (c)) : (c))) |
Macro to get LED mask bits for character c in a font table.
font | Font table |
c | Character index (0-based) |