Files
tm1638-library/clearDisplayDigit.md
2015-03-15 10:11:53 -04:00

612 B

clearDisplayDigit Reference (TM1638/TM1640)

Clear a single 7-segment display.

void clearDisplayDigit(byte pos, boolean dot);
Argument Detail Default
pos The display to clear, starting at position 0 (leftmost). required
dot The dot state on the 7-segment display required

Example

Clear the second 7-segment display (counting from the left), but leave the dot lit.

module1.clearDisplayDigit(1, true);

Clear the third 7-segment display (counting from the left), including the dot.

module1.clearDisplayDigit(2, false);