SilentWoof / Pico_Unicorn_Pack_Temperature_Alert

Temperature monitoring with raspberry pi pico and Pimoroni Unicorn Pack.
1 stars 0 forks source link

Pico Multithreading Crash #1

Open SilentWoof opened 3 years ago

SilentWoof commented 3 years ago

It seems that the program crashes after a few minutes, and the thread running on core 1 ceases to function.

SilentWoof commented 3 years ago

It seems that the program crashes after a few minutes, and the thread running on core 1 ceases to function.

I believe this is a feature of the way micro python on the pico functions. I have forked the program and created a version that does not use multithreading, and added an interrupt to enable the buzzer muting function.

The fork does not flash red on an alert anymore, but instead lights up solid read.