libspicboard-doc
7seg.h
Go to the documentation of this file.
62 * \brief Prints the hexadecimal representation of an 8-bit unsigned integer on the 7-segment display
75 * Read <a href="http://en.wikipedia.org/wiki/Seven-segment_display_character_representations">this</a>
98 * For example a value of 0x86 (decimal 134, binary representation: 1000 0110) will enlight the LEDs 1 and 2 of the first block.
int8_t sb_7seg_showNumber(int8_t nmbr)
Prints a number in the range [-9; 99] on the 7-segment display.
int8_t sb_7seg_showString(const char *str)
Prints a 2 character string on the 7-segment display.
int8_t sb_7seg_showHexNumber(uint8_t nmbr)
Prints the hexadecimal representation of an 8-bit unsigned integer on the 7-segment display.