Hi, i have been looking around for a way to do the following problem:
I´m trying to develop a probe tester for my analogic timers such as the 555 or HEF4020. The whole idea is to to get one message when the Pin is High and one when the Pin is Low so i can keep it recording for some hours and then compile the data and analyze if there is deviance. So i´m using a RTC to keep precise time and simplifying my code. Also the idea is to use more Pins in the future.
So, i want a code that helps me read when a Pin is HIGH and then uses this information to write a single message in my serial port. And when the Pin is LOW it will return a single message to my serial port. For instance i have T1 (Low) and T2(High): T1 is 25min T2 is 2min.
Until now all the code i have seen about this is related to Button Switching, and that´s what my code uses today with the problem of huge quantity of data that's hard to analyze.
Can someone point me in the right direction.
Thank you all in advance.