I am trying to send some command to Blynk app through ESP.
I have attached another microcontroller with ESP, which sends data serially to ESP. ESP reads the data and compare the value and sends the hardcode command to blynk app. But it’s not working somehow. Here is code excerpt-
Hey! Welcome to the forum. In the Arduino IDE, use [CTR-T] to auto format your code so it is more readable. Also, use code tags </> here on the forum, so your code looks like this:
Is this all of your code? There is no auth initialized before setup, and I don’t even see any Blynk libraries being called (i’m not sure if it’s needed in your case but it’s just an observation.)
The Widget is simple button. Tried this code but it doesn’t work somehow. I am sending data to ESP via bluetooth module attached to it. When I send A from bluetooth, I can’t see widget state ON. The project is in running mode and connected to ESP.