Data Logger issue

I have a data logger monitoring three data inputs. Pin 25 monitors an input that is normally high for days at a time but when it goes low, I want to log the three data inputs only one time. Currently, it keeps logging the inputs continuously as long as pin 25 is low.

How can I make it log only once for every time pin 25 goes low?

Thanks,

Sid

data_log_3_inputs_works_mod_for_GC_4.ino (2.02 KB)

How can I make it log only once for every time pin 25 goes low?

Look at the StateChangeDetection example in the IDE. You need to detect when the pin BECOMES LOW rather than when it IS LOW

Thanks,

I looked at the state change detector and that did the trick.

Thanks,

Sid