Blynk python


I try to read the V1 pin with python but nothing is displayed, the code is correct

import blynklib

blynk = blynklib.Blynk(BLYNK_AUTH)

@blynk.handle_event('write V1')
def write_virtual_pin_handler(pin, value):
    print("V1 value:", value[0])

while True:

Are you using Blynk IoT?

If so, what version of the Blynk library are you using (should be v1.0)?

The syntax for v1.0 is different to what you are using here.