But you are using the variable password in the declare but referencing just pass in the command.
That and now we all know your WiFi and Auth codes
The WiFi is no big deal unless you are my neighbor… but others can mess around with your hardware until you change you AUTH code. (refresh in the App and replace in the sketch).
I have also never tried to run a Blynk.virtualWrite() that way… directly calling a function. I know functions can return final results of a process, but I though it is coded differently? Something for me to Google
Anyhow, not how I would have done such a simple process… more like this…
Thank you Gunner for your reply. Like I said, new and learning and I can’t make contact with the guy to ask. So can I copy and paste what you wrote?
Also, how do I fix the variable password in the declare issue?
Ok, thank you.
I tried your, timer.setInterval(1000L, distanceReading()); // Call the scanning function directly, and got an error saying -distance reading was not declared in this scope-
When I put the original one back in I got an error - My timer event not declared in this scope-.
Do you have any ideas on these?
You really need to understand at least the basics of C++ programming if you’re going to make any progress with this, or get someone else to modify the code for you.
The time you invest in learning will be useful in the long run.