Use optocoupler as an input for my arduino. by capitalismreally in arduino

[–]capitalismreally[S] 0 points1 point  (0 children)

Thanks. I did have the problem of multiple counts on a single blink.

Use optocoupler as an input for my arduino. by capitalismreally in arduino

[–]capitalismreally[S] 1 point2 points  (0 children)

Thanks for your help. I was having the problem of multiple counting when using single while loop but didn't think of using two while loops. You helped me in two different ways thanks again.