let the library handle initialization
This commit is contained in:
@ -21,7 +21,8 @@ class DeviceIrTx : public Device {
|
||||
};
|
||||
|
||||
void DeviceIrTx::deviceSetup() {
|
||||
pinMode(pin_irtx, OUTPUT);
|
||||
// pinMode(pin_irtx, OUTPUT); // this is done by begin()
|
||||
irsend.begin();
|
||||
}
|
||||
|
||||
bool DeviceIrTx::irTxHandler(String message) {
|
||||
|
Reference in New Issue
Block a user