Hi,
i used the following code to set a timer on my RP2040 board. It seemed to work fine, but unfortunatelly i am not able to upload a new program anymore. I suspect that the bootloader is interupted by the timer... anyone who knows how to solve this?
-> Pressing the reset button while uploading does not work
Thanks a lot!
#include <mbed.h>
mbed::Ticker audioTicker;
void rp2040PeriodicFunction() {
... xyz
}
void setup() {
audioTicker.attach_us(&rp2040PeriodicFunction, 1000);
}
void loop() {
}