New answers tagged hardware
0
votes
Problem with some sensors but not with servos
Looks like in your sample code you did not complete the 10us pulse.
digitalWrite(pinTrig, LOW);
delayMicroseconds(5);
digitalWrite(pinTrig, HIGH);
delayMicroseconds(10);
digitalWrite(...
Top 50 recent answers are included
Related Tags
hardware × 250arduino-uno × 62
arduino-mega × 24
sensors × 20
serial × 17
programming × 17
pins × 15
shields × 15
electronics × 15
power × 13
esp8266 × 10
arduino-nano × 8
led × 8
usb × 8
arduino-ide × 7
c++ × 7
i2c × 7
motor × 7
atmega328 × 7
arduino-due × 7
communication × 7
nodemcu × 6
analogread × 6
software × 6
system-design × 6