Search results

  1. N

    LED as a light sensor

    Hello, I have a Teensy 3.1 with two I/O pins driving an LED. I want to use the LED as a light sensor, and for that I am using the following typical scheme: /* this runs in the loop() */ /* LED lit for 1 ms */ pinMode(LED_ANODE,OUTPUT); pinMode(LED_CATHODE,OUTPUT)...
Back
Top