Gunner
November 15, 2018, 9:39pm
8
That is why we have the Welcome Topic with all those pesky beginner instructions
Hey, welcome to Blynk Community.
This is the best place to ask questions, leave feedback and share your ideas.
If this is the first time you hear about Blynk, check out our website www.blynk.cc and come back!
As the community is big (and growing), let’s agree on some basic rules.
Asking for help
Before creating a new topic and asking for help, please check if your question was already answered:
Use forum search function
You may want to check out:
Blynk Documentation
Blynk Wiki
Blynk Exa…
Meanwhile take a look at this Ultrasonic example… perhaps you might see something useful in how the code is written to support both Blynk’s timing and the Ultrasonic timing needs
#16 - Ultrasonic Distance Sensor with Servo
This little project used the HC-SR04 Ultrasonic sensor… but instead of boring old distance numbers, it will also position a servo within a range of selected distances.
This sketch demonstrates a timer that can be enabled and disabled, so as not to be running something like the Ultrasonic sensor if other critical timing functions need to run.
And also demonstrates enabling and disabling the servo, so that there is no jitter or fluttering when it is n…
1 Like