Skip to content

Fix: Lillygo Tbeam 1W Fan Control and LNA Sequencing improvements #2418

Open
Robowarrior834 wants to merge 7 commits intomeshcore-dev:devfrom
Robowarrior834:Tbeam1W-Fix
Open

Fix: Lillygo Tbeam 1W Fan Control and LNA Sequencing improvements #2418
Robowarrior834 wants to merge 7 commits intomeshcore-dev:devfrom
Robowarrior834:Tbeam1W-Fix

Conversation

@Robowarrior834
Copy link
Copy Markdown

Ensures proper sequencing of the LNA and amp for the TBEAM 1W. Also adds fan control to keep the fan on for 10 seconds.

@Robowarrior834 Robowarrior834 changed the title Tbeam1W Fix Fix: Lillygo Tbeam 1W Fan Control and LNA Sequencing improvements Apr 27, 2026
@Robowarrior834
Copy link
Copy Markdown
Author

Had to rebuild the repository as I accidently added other local changes I made on my machine to the old pull request

#ifdef DISPLAY_CLASS
ui_task.loop();
#endif
rtc_clock.tick();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is probably time to introduce a new virtual MainBoard::loop(), and a no-op as default.
And have the TBeam1WBoard class override, and put the updateFan() logic there

setFanEnabled(true);
_fan_off_millis = millis() + 10000;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ie. here make this the board's loop() method

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

So I did this. Would I also need to add a loop function to every variant?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I answered my own question. Added a new virtual loop to the mainboard class so other variants compile and adjusted the tbeam 1w to override.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Robowarrior834 and others added 3 commits April 28, 2026 08:42
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