I tried retrieving data from Blynk Cloud. The request is made successfully and I got a 200 status code (Using status_code attribute). However, while trying to print the data received (Using the text attribute), the output freezes. This happens only when retrieving data from Blynk Cloud and not with other links. I tried the same with requests.py on my laptop and it prints the retrieved value properly. Please help me with this.
Code: Click here
ESP32 Freezes When Printing urequests.get().text
-
- Posts: 1
- Joined: Fri Jan 21, 2022 11:05 am
Re: ESP32 Freezes When Printing urequests.get().text
That least else seems wrong, no 'if' or 'for' before it. Maybe replace it with 'if request'