User Tools

Site Tools


digispark:tutorials:rgb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digispark:tutorials:rgb [2015/06/03 00:21]
oscomputing [Assembly:]
digispark:tutorials:rgb [2016/06/09 12:03] (current)
Line 96: Line 96:
 **PWM Note:** While the red and green LEDs are connected to pins that support PWM, the blue LED is not - this is because the third PWM pin is used by the USB communications and we figure most will want to use the RGB shield with USB communication. See Examples->​DigisparkRGB->​DigisparkRGB or Examples->​DigisparkUSB->​DigiBlink for examples of using software PWM for pin 2 (blue LED). **PWM Note:** While the red and green LEDs are connected to pins that support PWM, the blue LED is not - this is because the third PWM pin is used by the USB communications and we figure most will want to use the RGB shield with USB communication. See Examples->​DigisparkRGB->​DigisparkRGB or Examples->​DigisparkUSB->​DigiBlink for examples of using software PWM for pin 2 (blue LED).
  
-If you are not planning to use USB communication:​ If you want to connect the blue LED to P4 instead of P2 - flip the shield over and you'll see two solder jumpers, one has a little trace connecting its two pads, the other does't - cut the one with the trace and bridge the other with solder ​this will disconnect the blue LED from P2 and connect it to P4.+If you are not planning to use USB communication:​ If you want to connect the blue LED to P4 instead of P2 - flip the shield over and you'll see two solder jumpers, one has a little trace connecting its two pads, the other doesn't - cut the one with the trace and bridge the other with solder. This will disconnect the blue LED from P2 and connect it to P4.
  
 In the Arduino IDE, take a look at the Examples -> DigisparkRGB -> DigisparkRGB example for more advanced usage. When using that example you must set your board type as Digispark (Tiny Core) for it to work. In the Arduino IDE, take a look at the Examples -> DigisparkRGB -> DigisparkRGB example for more advanced usage. When using that example you must set your board type as Digispark (Tiny Core) for it to work.
  
digispark/tutorials/rgb.txt · Last modified: 2016/06/09 12:03 (external edit)