Skipping forward; RGB LED
 Show and Tell (Share your projects here)   Started by Ron Johnson   2018-01-28 16:23:39 -05:00   Comments: 4    Viewed: 1461

  1. Ron Johnson
    Ron Johnson Member Murphy, NC
    I loaded the DigisparkRGB example sketch and wired it to the RGB LED. I thought it would be interesting to extend the wiring to the individual LEDs to see which colors were mixing to make the color on the RGB LED. It worked; except the yellow individual LED represented a blue LED.

    Take the examples modify them and extend them.

    Learn Something New Every Day!


    1306_1517174299_Snapshot 1 (1-28-2018 4-

    Ron Johnson, 2018-01-28 16:23:39 -05:00
  2. Daniel Alich
    Daniel Alich Member Staff Member
    Did you have to add a libary file for this or can it be done with PWM?  I see the code has a libary include file, seems it can be donw without it?

    Greaat idea to split up the LEDs for really see what is happening.
    Daniel Alich, 2018-01-28 21:44:17 -05:00
  3. Ron Johnson
    Ron Johnson Member Murphy, NC
    I just loaded the RGB example and wired the single LEDs in serial, I think. And now that I look at the picture, I see I wired the individual LEDs back to the ATTiny85 module outputs. And the ground went from module to RGB to individual LEDs.
    Ron Johnson, 2018-01-29 13:07:15 -05:00
  4. Ron Johnson
    Ron Johnson Member Murphy, NC
    I have looked at Daniel's code. And this is what your get when you skip forward. I missed the PWM output. Need to work on the wiring a little more. Even with just the colors changing, it appeared the intensity what changing.
    Ron Johnson, 2018-01-29 13:23:51 -05:00
  5. (You must log in or sign up to post here)

Report Post

Write your reason

Log in | Sign up
Terms & Conditions!