blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.81k stars 1.38k forks source link

Error when using bridge & V254-255 pins #512

Closed BearScience closed 3 years ago

BearScience commented 3 years ago

Hello, guys!

I spend a lot of time, because i can't understood why i got error: error: 'V255' was not declared in this scope

So, the problem is : when we use bridge1.virtualWrite(V254, tempC); for example - we have error src\main.cpp:127:28: error: 'V254' was not declared in this scope

but if we use for example bridge1.virtualWrite(V20, tempC); - it works fine.

Ohh, i spent so much time before i tried other number.

Also - WidgetBridge bridge1(V254); won't work because of the same reason. And WidgetBridge bridge1(V21); will work's fine.

Thanks!

doom369 commented 3 years ago

@BearScience hello - https://docs.blynk.cc/#blynk-firmware-virtual-pins-control-blynkvirtualwritevpin-value screenshot-docs blynk cc-2021 01 13-22_29_22 :