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

Add TCXO_EN #1

Open
pete4radio opened this issue May 6, 2024 · 0 comments
Open

Add TCXO_EN #1

pete4radio opened this issue May 6, 2024 · 0 comments

Comments

@pete4radio
Copy link

Higher power modules with TCXO have a pin called TCXO_EN which activates the temperature controlled crystal oscillator. Can this library include operating this pin?

SX128x.cpp
In init add TCXO_EN(); at top of file
at line 1444, near reset add
void SX128x::TCXO_EN(void) {
std::lock_guard<std::mutex > lg(IOLock);
HalGPIOWrite(GPIO_PIN_TCXO, 1);
SX128x.hpp
in line 1033 add GPIO_PIN_TCXO to the enum
in line 1288 add virtual void TCXO_EN(void);

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

No branches or pull requests

1 participant