setDisplayDigit
rbatista edited this page Jul 6, 2016
·
1 revision
Set a single display to a digit.
void setDisplayDigit(byte digit, byte pos, boolean dot, const byte numberFont[]);
Argument | Detail | Default | Since |
---|---|---|---|
digit | The digit to set | required | |
pos | The 7-segment display to set. 0 for the leftmost, 7 for the rightmost | required | |
dot | The dot status for the display | required | |
numberFont | The font (segment data) to use for numbers, defaulting to the built-in font. | NUMBER_FONT, the built-in number font | v1.5.0 |
Set the leftmost display to a "6.":
module1.setDisplayDigit(6, 0, true);