int val0=0;
int irPin0 = A0; // <- this needs to be the pin you want to read from
void setup()
{
Serial.begin(9600);
}
void loop()
{
val0 = analogRead(irPin0);
Serial.print(val0);
Serial.print("\n\r");
delay(1500);
}
int val0=0;
int irPin0 = A0; // <- this needs to be the pin you want to read from
void setup()
{
Serial.begin(9600);
}
void loop()
{
val0 = analogRead(irPin0);
Serial.print(val0);
Serial.print("\n\r");
delay(1500);
}