-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
improvementImprovement to existing functionalityImprovement to existing functionalitysolvedSolved, but not yet released.Solved, but not yet released.
Milestone
Description
Description of the bug
The Both Ends progress effect skips the last LED if the strip has an odd number of LEDs.
My test strip is weird because I borrowed it from a nightlight I'm building for my daughter while checking out the plugin. In these screenshots LED 1 is in the upper right and LED 63 is in the bottom left and each row alternates data direction.
Like this:
<- 9 8 7 6 5 4 3 2 1
-> 10 11 12 13 14 15 16 17 18
<- 27 26 25 24 23 22 21 20 19
-> 28 29 30 31 32 33 34 35 36
<- 45 44 43 42 41 40 39 38 37
-> 46 47 48 49 50 51 52 53 54
<- 63 62 61 60 59 58 57 56 55
These screenshots are of the Printing Progess set to Both Ends and you can see that LED 1 is lit but LED 63 is not.
I toggled torch mode just to show that the LED is working correctly.
Steps to reproduce
- Configure your strip to an odd number of LEDs (even if your strip is even)
- Configure a status for
Both Ends - Get the printer to that state and confirm the "last" LED is not lit
What happened instead?
The last LED does not light and progress begins from the last even numbered LED
Plugin version
0.8.1
OctoPrint version
1.8.6
(if relevant) OctoPi version
1.0.0 RC3
Log Files & Screenshots
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
improvementImprovement to existing functionalityImprovement to existing functionalitysolvedSolved, but not yet released.Solved, but not yet released.


