Help with addressable LED sketch

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
Anxvf1s
Posts: 1
Joined: Mon Jun 11, 2018 9:10 am

Help with addressable LED sketch

Post by Anxvf1s » Mon Jun 11, 2018 9:22 am

Can some one please Help with addressable LED sketch I need?
I have tried your sketch and only the first 9 out of 16 led's light up.
I would like to make the led's start at 0 and go to 16 and start over again in the color white, I know it is probably no big deal for some one that knows how to do this but its my first time using addressable LED's and making sketch's.

The data pin I'am using is #3 and my board is Mini Nano V3.0 ATmega328P 5V 16M Micro Controller Board Module Arduino.

teprojects1
Posts: 51
Joined: Sat Jan 21, 2017 1:28 am
Location: Lahore
Contact:

Re: Help with addressable LED sketch

Post by teprojects1 » Thu Jun 14, 2018 11:31 am

Hi,

Your question is so vague, please share more details if you want someone to help you out. Which addressable LED you are using ??? share its image / link etc. And also share your code which you are using.

Thanks.
If you need any help in Engineering Projects | Arduino Projects you can contact me !! Introduction to PIC16F877a

theropod
Posts: 97
Joined: Tue Sep 20, 2016 11:12 am

Re: Help with addressable LED sketch

Post by theropod » Mon Jun 18, 2018 8:39 pm

If I understand you correctly a pair of CD4017 decade counters would do this from a stream of pulses generated by an Arduino very similar to driving a bipolar stepper motor via an Easy Driver. This could also be done with a pair of LM3914 bar/dot drivers and a PWM ramp up of voltage in perhaps a capacitor/resistor array.

Post Reply