Store the data from the terminal widget: Micropython Blynklib

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
auth = ‘BCf2gCpB20UyOofl3dUbeQcvFdwh8gFQ’
blynk = BlynkLib.Blynk(auth)
blynk.virtual_write(0,"Strart data Collection(Y/N): ")

def read(value):
while True:

I want to take this value from V0 pin and want to store in some variable.

Need help with this…


@chandan_63, please edit your post and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this: