Hi there,
Very excited to get a Badger2040 for Christmas and have written some very basic Python and C/C++ programs. However, I am getting an issue where if update() is called multiple times, only the first call is actioned and any following code doesn’t get run. Here is an example
int main(){
stdio_init_all();
sleep_ms(500);
badger.init();
badger.update_speed(0);
badger.led(50);
badger.pen(15);
badger.clear();
badger.pen(0);
badger.text("I'm here",50,50);
badger.update();
sleep_ms(1000);
//Mountain mount;
badger.text("Mountain created",100,100);
//mount.SetDimensions(0x28,0x28);
badger.update();
//mount.DrawMountain( &badger);
}
I am using commit 62d46210 of the pimoroni-pico repo.
Any help would be greatly appreciated.