Is there any function which can take values from the pin until the specified time
example if i want to take values from input pin DIO23 for 1 minute and store it in an array is it possible
second question is i want to calculate the time taken for the particular task to be completed
example
count=0
and for some condtion count is incremented
if count ==4
let us say after some time now can i calculate the time it has taken to reach that value 4
please help me solve this
Thanks a lot in advance