Migrating wiki contents from Google Code

This commit is contained in:
Google Code Exporter
2015-03-15 10:11:53 -04:00
commit e09fe56554
21 changed files with 990 additions and 0 deletions

21
setDisplayDigit.md Normal file
View File

@@ -0,0 +1,21 @@
# setDisplayDigit Reference (TM1638/TM1640) #
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 |
# Example #
Set the leftmost display to a "6.":
```
module1.setDisplayDigit(6, 0, true);
```