Skip to content

Error running macropad_keyscan.py, possible missing pin definitions in pins.c? #2

@stealthcopter

Description

@stealthcopter

First off thanks for writing this code, I cant wait to get it all working and do some proper tinkering!

It's been a bit of a journey but I've managed to get circuit python building the firmware and installed on my RGB macropad. I've successfully run the macropad_backlight.py script and can control the LEDs nicely. However, when I try and run the macropad_keyscan.py I run into an error:

AttributeError: 'module' object has no attribute 'GP6'

I think this means that the pins have not been defined for the board in the firmware that I've installed? I may be wrong as this is all pretty new to me, so apologies if so! I checked the definition in the pins.c class and they dont seem to be defined:
https://github.com/FrameworkComputer/circuitpython/blob/fwk_keyboard/ports/raspberrypi/boards/framework_inputmodule/pins.c

Any guidance is much appreciated! Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions