Blynk — read value from V-pin (blynk_read)¶
What it does: Returns the last received value from the selected virtual pin stored in blynk_vpins.

Inputs¶
- Field
vpin: virtual pin number0to19.
Output¶
- Value from pin (type according to data from Blynk: number, decimal or text).
When to use it¶
- For reading commands from the application (eg desired temperature, mode, on/off).
- When you want to react to user input in Blynk.
Tips and pitfalls¶
- It is a cache of the last value, not an immediate query to the cloud.
- Before data is first received, the default value is typically
0.
Generated Python example¶
value = blynk_vpins[3]