You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm trying to script a .sh or .py script that will flash the PiSugar 2 Pro LED based on the current batter life (0-19% 1 flash, 20-39% 2 flash, ... , 79-100% OR charging=true is 5 flashes.
Shown below is the code I'm trying to execute on "single button click" but it's not getting me very far. I'm almost positive it's because it has no idea what to do with "flash_led" command--I'm just using it as a placeholder at the moment.
Best I can tell from reverse-engineering a little bit, I'm going to have to send signals or breaks to the GPIO that controls the LED? Any input would be appreciated.
Is your feature request related to a problem? Please describe.
I'm trying to script a .sh or .py script that will flash the PiSugar 2 Pro LED based on the current batter life (0-19% 1 flash, 20-39% 2 flash, ... , 79-100% OR charging=true is 5 flashes.
Shown below is the code I'm trying to execute on "single button click" but it's not getting me very far. I'm almost positive it's because it has no idea what to do with "flash_led" command--I'm just using it as a placeholder at the moment.
Best I can tell from reverse-engineering a little bit, I'm going to have to send signals or breaks to the GPIO that controls the LED? Any input would be appreciated.
The text was updated successfully, but these errors were encountered: