jpraus / arduino-opentherm

Arduino library and hardware shield to send and receive data from Opentherm devices
Other
160 stars 42 forks source link

Wemos D1 R2 #7

Closed yury-sannikov closed 4 years ago

yury-sannikov commented 4 years ago

Hi @jpraus Thanks again for the great stuff. I'm super slowly adopting it, lol.

I'm using WeMos D1 R2. I found that the pinout is a bit different. Basically D5 in R1 became D3 in R2.

That way Wemos D1 R2 Setup could be:

// Wemos D1 R2 Setup
//#define THERMOSTAT_IN 16
//#define THERMOSTAT_OUT 4
//#define BOILER_IN 5
//#define BOILER_OUT 0
jpraus commented 4 years ago

Excellent, thank you! Will incorporate this into the code!

NijzinkM commented 4 years ago

Pin 16 on ESP8266 is the only pin that does not support interrupts. Will OPENTHERM::listen(THERMOSTAT_IN) cause problems?

jpraus commented 4 years ago

Interrupts are not needed, I rewrote the code some time ago to not use interrupts, it was causing lot of incompatibilities.

NijzinkM commented 4 years ago

Thanks! Sorry for bothering.

jpraus commented 4 years ago

Not at all!