Working fine with MAX3165 and a PT100 probe.
Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.
Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:
GPIO Orig Func SSPI I/O HEADER HEADER2 S-JACK
15 BOOT MODE CLK O 1
14 MISO I 2 TIP
4 MOSI O 3 RING1
VCC 1 VCC 4 RING3
2 DBG BOOT ~CS O 5 EXP-LOG
GND 4 GND RING2
HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.
TODO: Merge with MAX31855 code.
* Add command DisplayWidth to set pixel width on supported devices
* Add command DisplayHeight to set pixel height on supported devices
* Add Oled reset GPIO option "OLED reset"
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset), operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^ (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
Fix NewPing-1.9.1 library.properties to avoid compiler warning about possibly not supporting ESP8266 whereas we know now that it does. This causes the compiler warning (which may alarm some users unnecessarily) that NewPing claims to run on avr and stm32.
The new toolchain (2.5.0-2) used from core 2.5.0 does not want bitwise operations to be performed on non-integer variables so we cast the double used in send_2byte_float() to a (long) as it should be.
* Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
* Bump TasmotaSerial version from 2.1.0 to 2.2.0
When using KNX in cores > 2.3.0, the ESPAsyncUDP Library was used instead of the WIFIUDP Library. As now ESPAsyncUDP is no longer mantained and also it does not work in last version of the Arduino STAGE Core, now for all cores KNX will use the WIFIUDP Library.