BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

STM32 NUCLEO-F767ZI + Ethernet + Blynk

Hi!

I have STM32 NUCLEO-F767ZI board with built-in ethernet and I use stm32duino core and Arduino IDE 1.8.10. To compile my project I changed file BlynkSimpleEthernet.h:

// #include <Ethernet.h>
// #include <EthernetClient.h>
#include <LwIP.h>
#include <STM32Ethernet.h>

Connection to Blynk server and receiving commands in BLYNK_WRITE(Vxx) works normally.
But function Blynk.virtualWrite(Vxx, xxx) doesn’t work. My program loses connection and in COM port monitor I see next messages:
Connecting to 139.59.206.133
Connecting to 139.59.206.133
Connecting to 139.59.206.133
Connecting to 139.59.206.133

Please help, what should I do to make this function work?

We need to see your fill code, but when you post it you need to use triple backticks at the beginning and end of your code, not triple full stops as you appear to have used here.

Triple backticks look like this:
```

Pete.

Hi!
Thank you very much!
I’ve solved this problem.
In STM32 arduino code you need all float type variables send as String():

float light = 5.555;
Blynk.virtualWrite(V3, String(light, 0));