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

25
setupDisplay.md Normal file
View File

@@ -0,0 +1,25 @@
# setupDisplay Reference (TM1638/TM1640) #
Set the display (all 7-segments) and LEDs on or off and the specifies the intensity.
```
void setupDisplay(boolean active, byte intensity);
```
| Argument | Detail | Default |
|:---------|:-------|:--------|
| active | _true_ for on, _false_ for off | _required_ |
| intensity | The starting intensity from 0 (lowest) to 7 (highest) | _required_ |
# Example #
Activate display at maximum intensity:
```
module1.setupDisplay(true, 7);
```
Inactivate the display and set the intensity to the lowest:
```
module1.setupDisplay(false, 0);
```