Is there some way using the Arduino software or other software that I can print out the values of my inputs and outputs in real time?
What I'm trying to do is use an LED as a light detector to trigger another LED. Very simple proof of concept. I'm reading in the voltage of the 1st led and when it reaches a threshold value, it should trigger the other led.
I'm using an Arduino Duemilanove.
int ledout = 2;
int ledin = 0;
int voltage = 0;
voltage = analogRead(ledin);
if (voltage > 0.50)
The code works, it does what I want, I just wanted to have the ability to monitor the voltage going into the Arduino from the detector LED.