Davy PS
Davy PS
@davy-ps
Member
Joined: 2021-12-26 3:26 pm
Last seen: 2022-01-16 12:51 am
Topics: 2 / Replies: 72
Reply
RE: Theatre chase in opposite directions.

@lee-g Hi Lee. I started my electronics career around three months ago. Trying like mad to get me head around programming. robotBuilder and Will h...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Hi Mate. Been going over your last code. Printed it off and noted changes to effects as I change values. I have one area where I a...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Thanks Mate. Programme runs perfectly. Will spend next few days digesting learnings. Cheers, Davy.

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Mate, further to my previous post.... With your last example you a mixing methods (look up table for values to use vs algorithm t...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Hi Mate thanks for this code. A lot easier to work with colours. One thing I'd like to ask; How would I add a function to this code...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Neopixel demonstration starts around 25-00

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder How are your leds wired up you don't seem to be using an rgb led strip? Green is data IN from Arduino via 330 Ohm resistor...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@will What is the purpose of the final empty for loop (for j=0 to 9) ? Slackness on my part. Would have had another loop there as I was exper...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Check it out. Suggestions for improvements welcome obviously. Cheers, Davy #include <FastLED.h> // Fastled li...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Thanks Mate. I will have a play around with it. I will post a video of your modified code in action. I think it looks good and more ...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

HAHA I just twigged this is what you told me in the first place!!!!!!!!!!! @will Thanks . This works too. Now that I'm looking at things diff...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@will Thanks . This works too. Now that I'm looking at things differently. Last input of pattern. Blacked LED 1 and 8. {0, 0, 0, 0, 0, 0,...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@will Cheers Mate. That worked and makes sense too. leds[8] = CRGB(0,0, 0); //Red LEDFastLED.show();

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@will Hi Will, That's because the last matrix line (at j=18) doesn't shut off the LED when it leaves the for loop. So, the second last LED stay...

2 years ago
Forum
Reply
RE: Theatre chase in opposite directions.

@robotbuilder Getting the hang of this now. But some things I cannot see. This is a modified version of your Two Direction / Two Colour code. It no...

2 years ago
Forum
Page 1 / 5