Skip to content

Instantly share code, notes, and snippets.

const int trigPin = 3;
const int echoPin = 2;
void setup()
{
// initialize serial communication:
Serial.begin(115200);
}
void loop()