Though it compiled no error but I am not getting any print out from debug.
What am I doing wrong?
Secondly, I wish to ask if anyone had lay hands of blynk library in C.
I wish if i could get my minimal blynk c library just for basic functionality i wish to support.
You need to connect a TTL to USB adapter (FTDI adapter) to pins 6&7 and plug it in to a USB port on your computer. You’ll then have an additional COM port appear on your computer. Open this with a serial monitor and you’ll see your debug messages.
I’m not aware of any C libraries for Blynk, only the regular C++ libraries.
I did just that,
My USB-TTL converter installed in my laptop, i connected pin 6 (RxD) and 7(TxD) to the atmega328p.
Though i have my app remotely connected to the hardware, the issue is, sometimes it takes much time to connect, so wish to see where the issue is. maybe the SIM800L network registration to local network.
in blynk arduino library, there is provision for debugging which by default is using hardware serial.
like is —> #define BLYNK_PRINT Serial;
I then changed it to
SoftwareSerial debug(6, 7); #define BLYNK_PRINT SoftwareSerial;
i am using pins 6 & 7 connected to debug USB-TTL converter interface.
now no data is coming from debug interface.