You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HC-SR04 has 4 Pin with VCC,GND,Trig_RX-SCL_I/O, ECHO_DX_SDA but the code just defined ultrasonicPin = "4", so how can I connect
my raspberry pi with HC-SR04
and no matter what pin i connect the code always output write /dev/i2c-1: connection timed out. I want to know why.
in addition, I hope to have a website or other chat groups can get other developer's help quickly. I would be extremely grateful.
The text was updated successfully, but these errors were encountered:
Hello, I a beginner gobot & raspberry pi.
Now I use examples/raspi_grove_pi_ultrasonic.go to check with Raspberry Pi Model B and ultrasonic model with HC-SR04.
I have some problems can not be solved.
HC-SR04 has 4 Pin with VCC,GND,Trig_RX-SCL_I/O, ECHO_DX_SDA but the code just defined
ultrasonicPin = "4"
, so how can I connectmy raspberry pi with HC-SR04
and no matter what pin i connect the code always output
write /dev/i2c-1: connection timed out
. I want to know why.in addition, I hope to have a website or other chat groups can get other developer's help quickly. I would be extremely grateful.
The text was updated successfully, but these errors were encountered: