Thank you both, but there is no light, i tested it in a dark room.
The Serial commands between the Pulse-In commands slows your code down, so it misses pulses.
Thank you, i dont know that. I will test it.
Thank you both, but there is no light, i tested it in a dark room.
The Serial commands between the Pulse-In commands slows your code down, so it misses pulses.
Thank you, i dont know that. I will test it.