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

20
setDisplay.md Normal file
View File

@@ -0,0 +1,20 @@
# setDisplay Reference (TM1638/TM1640) #
Set the 7-segment displays to the 8 values (left to right)
```
void setDisplay(const byte values[]);
```
| Argument | Detail | Default |
|:---------|:-------|:--------|
| values | The values for each of the 8 7-segment displays from the the leftmost to the rightmost. | _required_ |
# Example #
Light a single segment on each of the 7-segment displays (and only the dot on the rightmost one):
```
byte values[] = { 1, 2, 4, 8, 16, 32, 64, 128 };
module1.setDisplay(values);
```