inventrdotio / AdventureKit2

Code for the second adventure kit
41 stars 12 forks source link

Parts Tutorial: Ultrasonic Sensor: Sketch does not compile #20

Open sricheson opened 1 year ago

sricheson commented 1 year ago

Lines 5 and 6 of the Ultrasonic Sensor sensor sketch do not compile. They require semicolons after the values. constexpr uint8_t echoPin = 12; // attach pin D12 Arduino to pin Echo of HC-SR04 constexpr uint8_t trigPin = 13; //attach pin D13 Arduino to pin Trig of HC-SR04