Skip to content

Fix ttgo tdisplay glitch 9708520172779030890#2234

Open
Valzzsxs wants to merge 40 commits intoBruceDevices:mainfrom
Valzzsxs:fix-ttgo-tdisplay-glitch-9708520172779030890
Open

Fix ttgo tdisplay glitch 9708520172779030890#2234
Valzzsxs wants to merge 40 commits intoBruceDevices:mainfrom
Valzzsxs:fix-ttgo-tdisplay-glitch-9708520172779030890

Conversation

@Valzzsxs
Copy link

Proposed Changes

Types of Changes

Verification

Testing

Linked Issues

User-Facing Change


Further Comments

google-labs-jules bot and others added 30 commits February 13, 2026 13:34
- Implement BW16 module in `src/modules/bw16/` to handle UART communication.
- Implement BW16Menu in `src/core/menu_items/` to provide UI for scanning and deauthing.
- Integrate BW16Menu into `src/core/main_menu.cpp` and `src/core/main_menu.h`.
- Support standard Bruce UART protocol for BW16.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
Removed several board configurations from the GitHub Actions workflow matrix.
Uncomment m5stack-cplus2 and Marauder-Mini in platformio.ini
Replaces the text-based BW16 icon with a graphical WiFi-like signal icon and a "5G" label, improving visual consistency with other menu items.
Uses `clearIconArea()` and `tft` drawing primitives as per existing `WifiMenu` implementation.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
This commit adds support for the `DEAUTH_ALL` command in the BW16 module integration.
It includes:
- Adding `deauthAll()` method to `BW16` class.
- Updating `BW16::parseLine` to handle `DEAUTH_ALL_STARTED:COUNT=` and `ERROR:` responses.
- Adding a "Deauth All" menu option in `BW16Menu` which sends the command and displays the response status.
- Storing the last received message in `_lastMessage` for display in the menu.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
…102325573

Add BW16 Deauth All command support
Removed circle and arc drawing for the icon in BW16Menu.
Increased text size for '5G' and 'Hz' display.
Removed duplicate board entry for LAUNCHER_Marauder-Mini.
google-labs-jules bot and others added 10 commits February 24, 2026 17:08
- Modified `boards/lilygo-t-display-ttgo/interface.cpp` to include custom input handling in `InputHandler`.
- Implemented a 5-second timer when UP_BTN is held.
- Added a visual countdown (5..1) using `tft.drawCentreString`.
- Triggers `powerOff()` after 5 seconds.
- Clears the countdown and resets state if button is released early.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
…914850868381926

Implement 5s hold on UP button to power off (TTGO T-Display)
Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
…8739

Add Hold-to-Boot Logic for Lilygo T-Display
Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
…9730513891467

Add 5s hold shutdown for TTGO T-Display
The TTGO T-Display's "Up" button is shared for both navigation (click) and shutdown (hold).
Previously, the shutdown countdown "OFF: 5" was drawn immediately upon button press, causing a visual glitch or conflict with the menu redraw during short navigation clicks.
This change adds a condition to only start drawing the countdown when the remaining time drops below 5 seconds (i.e., after holding for ~1 second), effectively ignoring short clicks for the shutdown UI logic.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
Reverting the changes to `boards/lilygo-t-display-ttgo/interface.cpp` as requested by the user.
The previous commit modified the shutdown countdown logic, but the user requested to revert to the original state.

Co-authored-by: Valzzsxs <145118184+Valzzsxs@users.noreply.github.com>
Copy link
Member

@bmorcelli bmorcelli left a comment

Choose a reason for hiding this comment

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

What Bw16 firmware is it interacting with?

Can you provide the source code of this firmware?

Copy link
Member

Choose a reason for hiding this comment

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

Do not change this file.

Copy link
Member

Choose a reason for hiding this comment

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

Do not change this file...

Create a second env in the boards/lilygo-t-display-ttgo/lilygo-t-display-s3.ini file, specifying the board changes you need..

Copy link
Member

Choose a reason for hiding this comment

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

Do not change this env...

Create a second Env in this file specifying the 16mb flash memory and board settings

#define ST7789_DRIVER 1
#define TFT_RGB_ORDER 0
#define TFT_WIDTH 170
#define TFT_WIDTH 172
Copy link
Member

Choose a reason for hiding this comment

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

Why?

@bmorcelli
Copy link
Member

Rebase your code to the last "dev" brench commit, and point this PR to "dev"

@dabassman28
Copy link

Awesome bw16!

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.

3 participants