Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Example2.ino | 2018-12-23 | 4.4 kB | |
Example1.ino | 2018-12-23 | 5.1 kB | |
LED8 RGB Connection Ex2.jpg | 2018-12-23 | 191.5 kB | |
LED8 RGB Module ViewTop.jpg | 2018-12-23 | 291.3 kB | |
Readme.txt | 2018-12-23 | 789 Bytes | |
LED8 RGB Connection Ex1.fzz | 2018-12-23 | 5.8 kB | |
LED8 RGB Connection Ex1.jpg | 2018-12-23 | 130.1 kB | |
LED8 RGB Connection Ex2.fzz | 2018-12-23 | 7.4 kB | |
Examples.txt | 2018-12-23 | 223 Bytes | |
Totals: 9 Items | 636.5 kB | 0 |
8 three primary colors (red, green and blue) full-color LED, scanning control mode. There are series limiting resistors in each of the LED and RGB lines. // Write logic LOW to D0-D7 to turn on an LED // Write logic LOW to and RGB line to turn on an LED THE GREEN AND BLUE LINES ARE SWAPPED OVER JP1 VCC D0 D1 D2 D3 D4 D5 D6 D7 JP2 R B G Note: This requires multiplexing if you wanted to display red/green/blue leds at same time ie loop () { // write R value to leds writeleds( rvalue ); // enable() enables only one of the RGB pins at a time enable( RED); delay(10); // write G value to leds writeleds( gvalue ); enable( GREEN ); delay(10); // write B value to leds writeleds( bvalue ); enable( BLUE ); delay(10);