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

Read virtual pin value and write this value to other Virtual Pins

Hi,
This is the first time posting and I am new to Arduino and Blynk.
I have a small servo attached to a step widget on Virtual pin1. Now the display is already on the app widget when running. Great!!. But the text is so small and all I want to do is send this value from V1 to a value display on virtual pin 0.
Does someone have a simple code example?

[Unformatted code removed by moderator]

Please use triple “backticks” (google it if necessary) on a separate line before or after any code or use theses ```

What is wrong with the following?

BLYNK_WRITE(V1)
{
  int angle = param.asInt();
  servo.write(angle);
 Blynk.virtualWrite(V0, angle);
}

Nothing at all… That works great!!
I knew it had to be simple…
Thank you for the quick reply