Fix ttgo tdisplay glitch 9708520172779030890#2234
Open
Valzzsxs wants to merge 40 commits intoBruceDevices:mainfrom
Open
Fix ttgo tdisplay glitch 9708520172779030890#2234Valzzsxs wants to merge 40 commits intoBruceDevices:mainfrom
Valzzsxs wants to merge 40 commits intoBruceDevices:mainfrom
Conversation
- 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>
…091760686 Add BW16 5GHz Deauth Feature
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>
Improve BW16 Menu Icon
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.
- 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>
bmorcelli
requested changes
Feb 25, 2026
Member
bmorcelli
left a comment
There was a problem hiding this comment.
What Bw16 firmware is it interacting with?
Can you provide the source code of this firmware?
Member
There was a problem hiding this comment.
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..
Member
There was a problem hiding this comment.
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 |
Member
|
Rebase your code to the last "dev" brench commit, and point this PR to "dev" |
|
Awesome bw16! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Types of Changes
Verification
Testing
Linked Issues
User-Facing Change
Further Comments