basic implementation of HMS/HMT inverters

This commit is contained in:
lumapu 2023-02-20 22:10:05 +01:00
parent b6a41506b6
commit c56c785a1f
13 changed files with 800 additions and 19 deletions

View file

@ -15,13 +15,18 @@ IRAM_ATTR void handleIntr(void) {
myApp.handleIntr();
}
//-----------------------------------------------------------------------------
IRAM_ATTR void handleHmsIntr(void) {
myApp.handleHmsIntr();
}
//-----------------------------------------------------------------------------
void setup() {
myApp.setup();
// TODO: move to HmRadio
attachInterrupt(digitalPinToInterrupt(myApp.getIrqPin()), handleIntr, FALLING);
attachInterrupt(digitalPinToInterrupt(myApp.getHmsIrqPin()), handleHmsIntr, RISING);
}