Go Down

Topic: LEDs as Photo-diodes (Read 2392 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