pimoroni / badger2040

Examples and firmware for Badger 2040 and Badger 2040 W
MIT License
165 stars 53 forks source link

Clock Example does not run on Badger 2040 W #82

Open ulrischa opened 5 months ago

ulrischa commented 5 months ago

The clock Example does not run on the Wireless Version. Even if I change all references to badger2040w I get errors like AttributeError: 'module' object has no attribute 'is_wireless'. The docs here seems wrong: https://github.com/pimoroni/badger2040/tree/main/badger_os#clock

helgibbons commented 5 months ago

The clock example seems to run fine for me on Badger W - do you have the most recent version of Badger W flavoured MicroPython installed?

https://github.com/pimoroni/badger2040/releases/latest

(and install instructions: https://github.com/pimoroni/badger2040 )

ulrischa commented 5 months ago

Yes habe these but I need to change all badger2040 to badger2040w in the code to run the examples. Also some time related libraries are not found

helgibbons commented 5 months ago

You shouldn't need to do that. Are you definitely using the most recent Badger W image (here's a direct link to the correct one with the built in examples)?

If that doesn't help, please can you let us know the exact text of the error (and what code you're running?). A screenshot showing your Thonny might also help.