feat: add support board "OT Thing" (#123)

* Add board "OT Thing"

* style: formatting

---------

Co-authored-by: Yurii <34578544+Laxilef@users.noreply.github.com>
This commit is contained in:
Stefan S
2025-01-08 21:41:06 +01:00
committed by GitHub
parent 0d0926cdac
commit 9a2f9d64ec
2 changed files with 30 additions and 1 deletions

View File

@@ -69,6 +69,11 @@ protected:
return;
}
#ifdef OT_BYPASS_RELAY_GPIO
pinMode(OT_BYPASS_RELAY_GPIO, OUTPUT);
digitalWrite(OT_BYPASS_RELAY_GPIO, true);
#endif
// create instance
this->instance = new CustomOpenTherm(settings.opentherm.inGpio, settings.opentherm.outGpio);