Skip to content

Commit 01fd0f2

Browse files
committed
Updated library version
1 parent cc90c54 commit 01fd0f2

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

examples/OpenThermMonitor_Demo/OpenThermMonitor_Demo.ino renamed to examples/OpenThermGatewayMonitor_Demo/OpenThermGatewayMonitor_Demo.ino

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
/*
2-
OpenTherm Monitor Example
2+
OpenTherm Gateway/Monitor Example
33
By: Ihor Melnyk
44
Date: May 1st, 2019
5+
http://ihormelnyk.com
56
*/
67

78

89
#include <Arduino.h>
910
#include <OpenTherm.h>
1011

11-
const int mInPin = 4; //ESP8266
12-
const int mOutPin = 5; //ESP8266
12+
const int mInPin = 2; //for Arduino, 4 for ESP8266
13+
const int mOutPin = 4; //for Arduino, 5 for ESP8266
1314

14-
const int sInPin = 12; //ESP8266
15-
const int sOutPin = 13; //ESP8266
15+
const int sInPin = 3; //for Arduino, 12 for ESP8266
16+
const int sOutPin = 5; //for Arduino, 13 for ESP8266
1617

1718
OpenTherm mOT(mInPin, mOutPin);
1819
OpenTherm sOT(sInPin, sOutPin, true);

examples/OpenThermMaster_Demo/OpenThermMaster_Demo.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ but since GPIO6-GPIO11 are typically used to interface with the flash memory ICs
2323
#include <Arduino.h>
2424
#include <OpenTherm.h>
2525

26-
const int inPin = 2; //4 for ESP8266
27-
const int outPin = 3; //5 dor ESP8266
26+
const int inPin = 2; //for Arduino, 4 for ESP8266
27+
const int outPin = 3; //for Arduino, 5 for ESP8266
2828
OpenTherm ot(inPin, outPin);
2929

3030
void handleInterrupt() {

examples/OpenThermSlave_Demo/OpenThermSlave_Demo.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
OpenTherm Slave Example
33
By: Ihor Melnyk
44
Date: May 1st, 2019
5+
http://ihormelnyk.com
56
*/
67

78
#include <Arduino.h>
89
#include <OpenTherm.h>
910

10-
const int inPin = 12; //ESP8266
11-
const int outPin = 13; //ESP8266
11+
const int inPin = 2; //for Arduino, 12 for ESP8266
12+
const int outPin = 3; //for Arduino, 13 for ESP8266
1213
OpenTherm ot(inPin, outPin, true);
1314

1415
void handleInterrupt() {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=OpenTherm Library
2-
version=1.0.2
2+
version=1.1.0
33
author=Ihor Melnyk <ihor.melnyk@gmail.com>
44
maintainer=Ihor Melnyk <ihor.melnyk@gmail.com>
55
sentence=OpenTherm Library for HVAC system control communication using Arduino and ESP8266 hardware.

0 commit comments

Comments
 (0)