Search found 1 match

by jmbelisle
Fri Mar 05, 2021 3:20 am
Forum: Raspberry Pi microcontroller boards
Topic: Problem using 2 identical delays (with sleep()) in main & in thread
Replies: 1
Views: 2936

Problem using 2 identical delays (with sleep()) in main & in thread

There is a Pico freeze issue when using 2 identical delays (with sleep() or sleep_ms()) in a thread code and a "main code". In the example below the green led (Pico onboard one) flashes 8 times a second (with a timer) while the other two (external leds connected to pins 0 and 1 with 330ohm resistors...