Hi guys,
I am working on a small project in which I want to get some data (let say time duration for data acquisition from a sensor) from the terminal widget on Blynk app and want to store it in some other variable for further use.
import BlynkLib
import time
time.sleep(5)
auth = ‘BCf2gCpB20UyOofl3dUbeQcvFdwh8gFQ’
blynk = BlynkLib.Blynk(auth)
time.sleep(5)
blynk.virtual_write(0,"Strart data Collection(Y/N): ")
@blynk.on(“V0”)
def read(value):
print(value)
while True:
blynk.run()
I want to take this value from V0 pin and want to store in some variable.
Need help with this…
Thanks