ToniA / arduino-heatpumpir

An Arduino library to control split-unit heatpumps over Infrared
GNU General Public License v2.0
395 stars 140 forks source link

samd21 #120

Open 35nine opened 3 years ago

35nine commented 3 years ago

Hi, attempting to run on Seeeduino Cortex M0 after successfully on pro mini. Lots of pin errors, mainly to do with pwm I think. Any input welcomed, anyone running on this type of hardware?

(snip)\HeatpumpIR\IRSenderPWM.cpp: In member function 'virtual void IRSenderPWM::setFrequency(int)': (snip)\HeatpumpIR\IRSenderPWM.cpp:129:7: error: 'TCCR2A' was not declared in this scope

Tried IrSenderPWM, IrsenderBitBang also, I'll keep looking into. Thanks very much

ToniA commented 3 years ago

You should take a look at the other IRSender implementations, like IRSenderBitBang (if nothing else works)

https://github.com/ToniA/arduino-heatpumpir/blob/d66d04fef95091d48283f62d53b147b91d8ac1e6/examples/simple/simple.ino#L31