Gunner
March 4, 2018, 5:59am
4
First… I already fixed your posts with the formatting that was requested of you, and as per the Welcome Topic…
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…
Second… as for your errors… are you sure you have installed the Blynk Libraries properly?
https://intercom.help/blynk/getting-started-library-auth-token-code-examples/getting-started
Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc. - GitHub - blynkkk/blynk-library: Blynk library for IoT boards. Works with Arduino, ESP32, E...
Finaly… do NOT try to run this function call directly from the void loop()
which runs hundreds/thousands of times a second… learn about BlynkTimer and use it to call the getPirValue()
function…
http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/how-to-display-any-sensor-data-in-blynk-app