4) A sample collecting device has a timer and an interrupt occurs every 2 hours. At that time use measure function and a
Posted: Fri Jun 10, 2022 11:58 am
4) A sample collecting device has a timer and an interrupt occurs every 2 hours. At that time use measure function and a counter from 1 to 100 creating a 500ms delay and outputs this value to a port and samples one additional input pin and changes its state from 0 to 1 if this input is active. Write a code that will stores this 0 to 1 transitions.