Skip to content

Frontboard2026#315

Open
ChrisDick wants to merge 14 commits into
mainfrom
frontboard2026
Open

Frontboard2026#315
ChrisDick wants to merge 14 commits into
mainfrom
frontboard2026

Conversation

@ChrisDick

Copy link
Copy Markdown
Contributor

Description

new frontboard code, including:

  • detection of attached frontboard
  • auxiliary port expander
  • compass added to imu
  • touch sensor driver
  • touch feedback on the leds
  • app to raise events

app currently polls the touch ic, but has the callback setup in c for the interrupt driven version.

compass not tested yet.

Comment thread modules/events/input.py
"DOWN": Button("DOWN", "System"),
"LEFT": Button("LEFT", "System"),
"RIGHT": Button("RIGHT", "System"),
"A": Button("A", "System"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the button rearrangement that this is part of going to do weird stuff to the app store code input dialog, which uses these buttons that I think are being renamed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly, one of the reasons for putting the PR up is to get feedback on this stuff. it's really a draft PR, but if I mark it as draft, the CI doesn't run and I need others with the new top board to test things like the touch response on multiple badges for tolerance checks and to test new boards as they're made. I still need to debug the compass, do some docs and get it all reviewed, so there's time for feedback.

ChrisDick added 4 commits June 4, 2026 22:02
scaling and orientation check still todo
8 gauss scaling (lowest) and align with imu. also fixed missing await.
support for the first revision needs the eeprom header setting manually with:
from machine import I2C;I2C(0);writeto(0x57, bytes([0x00, 0x00]) + b'THEX2026 \x00 \x00\x00 \x00\x00\xd3\xba\x01&\x00\x00Spaceagon+')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants