Perform power down sequence from port expander trigger
Compare changes
Files
7+ 9
− 4
@@ -15,11 +15,13 @@ void setup() {
@@ -28,7 +30,7 @@ enum {
@@ -40,5 +42,8 @@ void loop() {
Add the ramping down of power procedure from trigger input (on interrupt).
This has been tested by triggering the inputs and checking that the procedure starts.
Further triggering or changes on inputs while powering down also do not affect execution.