Led Status toggle each print when Auto Startup option selected #296
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Hi,
I manage a led bar via GPIO and the Enclosure plugin. I select the Auto Startup option. So Leds are automaticly light on when print start and the item in the Enclosure plugin menu is put To Led On. However if I launch another print after the fist one (led are already on), the status for the led input in the menu toggles and is put to Led Off (the Leds are always ON). So the plgin seems to toggle the menu item each time whatever was the status before.
So if I want to shut off Led I have to select two time the item menu in that case.
Solution : Toggle the menu item only when the led is effectively toggle