Closed mfru closed 1 month ago
It was the configuration of Thonny.
By default it seems all checkboxes for the interpreter are checked, which includes "Interrupt working program on connect".
By unchecking it Thonny does not, well, interrupt the running device anymore and it happily takes readings and does uploads.
Hi, I am quite new to microcontrollers and Enviro, so apologies if I am asking obvious things.
I set up an Enviro Indoor while plugged into my workstation and wanted to test if it automatically takes readings and uploads them to Adafruit IO according to schedule before setting it up with a battery pack.
However, it will not take a reading on its own, rather it only does so when I press the RESET button. POKE does nothing, neither blinking the LED nor producing log output.
In the log you will notice that each time the wake reason says
rtc_alarm
which is not true. I pressed the RESET button at these times which woke the device up and produced one reading, setting a new alarm and going back to waiting for the alarm to happen. But the alarm never fires.I am using Thonny to connect to the device.
Did I misconfigure something?
This is my config:
and the corresponding logs: