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

28
setLEDs.md Normal file
View File

@@ -0,0 +1,28 @@
# setLEDs Reference (TM1638) #
Set all the LEDs.
```
void setLEDs(word led);
```
| Argument | Detail | Default |
|:---------|:-------|:--------|
| led | The LEDs to set. MSB byte for the green LEDs, LSB for the red LEDs. | _required_ |
# Example #
Light up all the red LEDs.
```
module1.setLEDs(0x00FF);
```
Light up all the green LEDs.
```
module1.setLEDs(0xFF00);
```
Light up all the LEDs.
```
module1.setLEDs(0xFFFF);
```