Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New 'end' function in 'softSerial' to ensure low power consumption. #223

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

juanjole
Copy link
Contributor

@juanjole juanjole commented Feb 9, 2022

Hello,

I realized that to have the lowest possible power consumption in deep sleep after using a 'softSerial' object, it is necessary to deactivate configured TX and RX pins. Otherwise, power is consumed by 'TX_GPIO' pin (HIGH level) and random wake-ups are produced by the interruption in 'RX_GPIO' pin.

In order to solve it I implemented the 'end' function that must be invoked once 'softSerial' object is not necessary anymore.

@Quency-D Quency-D merged commit 0c7dfbf into HelTecAutomation:master Feb 25, 2022
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.

None yet

2 participants