To inspire your next build, here are five practical applications:
void setup() pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); Fc 51 Ir Sensor Datasheet
The LM393 comparator has an open-collector output on some designs, requiring a pull-up resistor internally. In practice, this means the signal idles HIGH and pulls LOW upon detection. To inspire your next build, here are five
void setup() pinMode(sensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); To inspire your next build