Hi! (beginner here)
I have an external interrupt (occurring every second) driven program loop that ends with setting a status variable to ether 1 or 0.
I need to set a flag to "yes"... only after 30 interrupts has resulted in 30 consecutive "0's from my loop .... otherwise flag set to "no". The flag must be checked after every loop.
I don't know if an array can be appended to in a FILO fashion for this.
Any ideas on how to best go about this?
Thanks!