Ultrasonic distance sensor | RobotShop Community

If you are the original author, please access your User Control Panel and update it.

hi guys i just finished my project i am new to programing so hope you like it  i have also the code : #include <SoftwareSerial.h>   // TX_PIN is not used by the sensor, since that the it only transmits! #define PING_RX_PIN 6 #define PING_TX_PIN 7   SoftwareSerial mySerial(PING_RX_PIN, PING_TX_PIN); int counter=0; int resetCounter=0; int ledState=1; int ledDirection=1; boolean isSend=false; unsigned long pulseDuration=1; int RedLedpin=13; int BlueLedpin=8;   long inches = ...


This is a companion discussion topic for the original entry at https://community.robotshop.com/index.php/robots/show/ultrasonic-distance-sensor