Fast led rainbow fix #94
No reviewers
Labels
No labels
Core
Fixed
Godot
HardwareIssue
LEDS
Networking
Problem
SoftwareIssue
duplicate
enhancement
good first issue
help wanted
invalid
on hold
question
reminder
todo 🗒️
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
squatnet/ArduinoStuff!94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "FastLedRainbowFix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the rainbow. Pallete mode issue persists for now
interesting, i am surprised this caused an issue, any idea why that would be the case?
Fix rainbow by adding gHue back in
@ -49,3 +49,3 @@TBlendType currentBlending;//blending typeuint8_t gHue = 0;String string = ""; //holder for the parser string.Fix rainbow by adding gHue back in
Fix rainbow in palette mode by adding gHue and using fill_palette instead of changing the color of each led based on a fixed start with color from palette
Increment gHue to make rainbow and palette index scroll
When we set these values in the parser we specifically cast the values toInt() it makes sense to store them as int too. The memory saving is Negligible
Changed deltaindex value to make more colours from the palette show at once.
This is active code. It's literally there in an if statement in loop
@ -62,3 +62,4 @@int numberOfPalettes=18;//total number of palettes available -1.int colorIndex = 0;//holds the position in the palette array for the color to show.int LEDStart = 0;//this holds the number of the first LED in the arry to start printing a pattern to.int LEDEnd = 0;//this holds the number of the last LED in the arry to start printing a pattern to.Same here we cast to an int in parser so why not save any possible messing about with different data types and just keep it all as int.
@kieran-boyle see above.
check fastLED.io - rainbow.
No gHue, no colour prog..
On Tue, May 28, 2019 at 11:04 PM kieran-boyle notifications@github.com
wrote:
That's exactly it. You guys like the way I've commented the changes in
review? Think this is the way to do the reviews on pull requests now..
makes it a lot easier to see not just what has changed but also why it has
changed.
On Wed, 29 May 2019, 10:53 Riiio, notifications@github.com wrote: