So i want to see the Serial.println for both of my ports (both of them are ir sensors) but can't figure out how.
int val = 0;
int pinone = 8;
int pintwo = 3;
void setup()
{
Serial.begin(9600);
}
void loop()
{
val = digitalRead(pinone,pintwo);
Serial.println(val);
}