Title: Error running macropad_keyscan.py, possible missing pin definitions in pins.c? · Issue #2 · FrameworkComputer/Framework_Inputmodule_CircuitPython · GitHub
Open Graph Title: Error running macropad_keyscan.py, possible missing pin definitions in pins.c? · Issue #2 · FrameworkComputer/Framework_Inputmodule_CircuitPython
X Title: Error running macropad_keyscan.py, possible missing pin definitions in pins.c? · Issue #2 · FrameworkComputer/Framework_Inputmodule_CircuitPython
Description: 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 succ...
Open Graph Description: 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...
X Description: 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 firm...
Opengraph URL: https://github.com/FrameworkComputer/Framework_Inputmodule_CircuitPython/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error running macropad_keyscan.py, possible missing pin definitions in pins.c?","articleBody":"First off thanks for writing this code, I cant wait to get it all working and do some proper tinkering!\r\n\r\nIt'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:\r\n\r\n```\r\nAttributeError: 'module' object has no attribute 'GP6'\r\n```\r\n\r\nI 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: \r\nhttps://github.com/FrameworkComputer/circuitpython/blob/fwk_keyboard/ports/raspberrypi/boards/framework_inputmodule/pins.c\r\n\r\nAny guidance is much appreciated! Cheers\r\n\r\n\r\n","author":{"url":"https://github.com/stealthcopter","@type":"Person","name":"stealthcopter"},"datePublished":"2024-10-19T20:21:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2/Framework_Inputmodule_CircuitPython/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00f8b456-58ef-644a-5c59-efdc618de98b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D30:91A22:542F380:6C329B9:69761B4E |
| html-safe-nonce | 67fafff15a0042bb15dcf18c7c6c1fde384a68131757f0501e540d59cf92d431 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDMwOjkxQTIyOjU0MkYzODA6NkMzMjlCOTo2OTc2MUI0RSIsInZpc2l0b3JfaWQiOiI3MDAxODU5NTA5Njc2NTQ2ODk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 44f41a5947d7818e87db488a1b694a5dcdc27095e49abd4eebb2fc2ee34bb1c7 |
| hovercard-subject-tag | issue:2599564651 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/FrameworkComputer/Framework_Inputmodule_CircuitPython/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df09eee05b04c4a16195808b990b522c8445a50151819b947c26d6f494e391b0/FrameworkComputer/Framework_Inputmodule_CircuitPython/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df09eee05b04c4a16195808b990b522c8445a50151819b947c26d6f494e391b0/FrameworkComputer/Framework_Inputmodule_CircuitPython/issues/2 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stealthcopter |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/FrameworkComputer/Framework_Inputmodule_CircuitPython git https://github.com/FrameworkComputer/Framework_Inputmodule_CircuitPython.git |
| octolytics-dimension-user_id | 58124942 |
| octolytics-dimension-user_login | FrameworkComputer |
| octolytics-dimension-repository_id | 673637248 |
| octolytics-dimension-repository_nwo | FrameworkComputer/Framework_Inputmodule_CircuitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 673637248 |
| octolytics-dimension-repository_network_root_nwo | FrameworkComputer/Framework_Inputmodule_CircuitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width