Skip to content

Add TCXO_EN #1

@pete4radio

Description

@pete4radio

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions