diff --git a/magic-veneer-arduino/src/main.cpp b/magic-veneer-arduino/src/main.cpp index 4acb0ac..218ee37 100644 --- a/magic-veneer-arduino/src/main.cpp +++ b/magic-veneer-arduino/src/main.cpp @@ -13,5 +13,10 @@ void setup() void loop() { int distance = sensor.getDistance(); - Serial.println(distance); + + if (distance < 40) + { + Serial.println("isWithinThreshhold"); + } + delay(100); } \ No newline at end of file