setDisplayToBinNumber
rbatista edited this page Jul 6, 2016
·
1 revision
Set the display to a binary number.
void setDisplayToBinNumber(byte number, byte dots, const byte numberFont[]);
Argument | Detail | Default | Since |
---|---|---|---|
number | The number to display | required | |
dots | The dots to set (bitwise) | 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 |
Display "1.0.1.0.1.0.1.0.":
module1.setDisplayToBinNumber(0b10101010, 0xFF);
Display 15 in binary with no dots:
module1.setDisplayToBinNumber(15, 0);