Skip to content

QT Py Audio BFF: Boot button role, and a config with an SH1106 OLED - #498

Merged
bdbarnett merged 2 commits into
mainfrom
qtpy-audio-bff-roles
Nov 11, 2026
Merged

bdbarnett merged 2 commits into
mainfrom
qtpy-audio-bff-roles

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The QT Py ESP32 Pico with the Audio BFF now names its Boot button as a role (boot_button, GPIO0), so a program that runs on any board can read it without knowing the pin. A new package, busdisplay/i2c/sh1106_oled_on_qtpy_esp32_pico_audio_bff, adds a 128x64 SH1106 on the STEMMA QT port as display_drv and keeps the BFF's audio roles and the button. The stack page also gains the apps repo's new programs and programkit, with Ostinato and Vamp at their new paths; its links resolve once PyDevices/apps#59 is merged.

Checked on a QT Py ESP32 Pico with the Audio BFF and an SH1106: the apps repo's Bluetooth speaker and internet radio drew on the OLED, played through the BFF and listed the Boot button as a press source. The button itself wasn't pressed. libbuild.py check and installers --check pass.

A program that runs on any board reads its buttons from the board's roles,
so the QT Py ESP32 Pico with the Audio BFF names its Boot button
(boot_button, GPIO0). The new sh1106_oled_on_qtpy_esp32_pico_audio_bff
package adds a 128x64 SH1106 on the STEMMA QT port as display_drv and keeps
the BFF's audio roles and the button.

Run on a QT Py ESP32 Pico with the Audio BFF and an SH1106: the Bluetooth
speaker and internet radio programs drew on the OLED and played through the
BFF, and found the Boot button through its role (it wasn't pressed).
libbuild check and installers --check pass.
The page rendered from the organization's stack data, with Ostinato and Vamp at their new paths under programs/.
@bdbarnett
bdbarnett merged commit b61514d into main Nov 11, 2026
5 checks passed
@bdbarnett
bdbarnett deleted the qtpy-audio-bff-roles branch November 11, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant