Skip to content

Doesn't run on current Circuitpython #11

@stanelie

Description

@stanelie

Hello.
Just got a badger and wanted to try your port of BadgerOS. I'm trying to make it run on the current "Adafruit CircuitPython 9.2.4 on 2025-01-29; Pimoroni Badger 2040 with rp2040".

After fixing the code as per the last post of #7 (comment out lines 51, 52 and 53 of code.py), it still does not run.

I switched out the librairies with the libraries package adafruit-circuitpython-bundle-9.x-mpy-20241128 (before that, it would complain that the libraries were incompatible).

Latest error is
Traceback (most recent call last): File "<stdin>", line 368, in <module> File "<stdin>", line 79, in fixlayout ImportError: no module named 'adafruit_hid.keyboard_layout_fr'

Somehow, it thinks I should use a french layout, but that layout does not exist in my adafruit_hid library.

How can I force the US layout?

Thanks!

Edit : forced us layout on line 36 by stating layout = "us"
Now, it quits with
Traceback (most recent call last): File "<stdin>", line 1365, in <module> File "<stdin>", line 412, in render AttributeError: .show(x) removed. Use .root_group = x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions