29 March 2010

Task 38 - button-activated photocell (LDR) output to Serial Monitor


The output "No output" shows the program is running. I won't bother next time; it's just for demo purposes..

When the button is pushed, the analog reading is sent to the Serial Monitor.

My reaction times aren't lightning fast, but even with a 'debounce' delay, it still gets a couple of readings out before my finger comes off the button.

No comments:

Post a Comment