Hi there,
Can anyone please help me how I can write the first code in Arduino IDE to read the digital input of
Sharp GP2Y0D810Z0F connected to PD0 and PD1.
Hi there,
Can anyone please help me how I can write the first code in Arduino IDE to read the digital input of
Sharp GP2Y0D810Z0F connected to PD0 and PD1.
Hello.
You should be able to read pins PD0 and PD1 as pins 0 and 1 using the digitalRead() command. You can find more information about digitalRead() on Arduino’s website.
- Grant