Go Down

Topic: LEDs as Photo-diodes (Read 2862 times) previous topic - next topic

dhenry

Add this:

Code: [Select]
#define NOP() asm("nop") //waste a tick

delay(400) is way too long. If you have to, use delay(1)

april

#16
Nov 14, 2012, 09:16 pm Last Edit: Nov 14, 2012, 09:25 pm by april Reason: 1

Add this:
Code: [Select]
#define NOP() asm("nop") //waste a tick
delay(400) is way too long. If you have to, use delay(1)


Yes OK but I was trying to see just what you are getting at. By slowing it down some as I said it is just alternate flashing LED's . The serial monitor flashes values too fast to read anything definate.

So with a small delay , what is this going to demonstrate to me ?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy