I think I know how to add ESP32 support to the MAX31850_OneWire library. The two steps below allow SigkSens to compile for both of my ESP32 boards, and my Wemos D1 mino Lite, with the MAX31850_OneWire library instead of the standard OneWire library. I have not tested it with a MAX 31850 attached to my MCU yet, though.
First, install version 1.0.1 of the Adafruit MAX31850_OneWire library from GitHub: https://github.com/adafruit/MAX31850_OneWire (The Arduino Library Manager goes only to version 1.0.0.)
Then, copy this into MAX31850_OneWire/OneWire.h right after the #elif defined(ARDUINO_ARCH_ESP8266) section:
I think I know how to add ESP32 support to the MAX31850_OneWire library. The two steps below allow SigkSens to compile for both of my ESP32 boards, and my Wemos D1 mino Lite, with the MAX31850_OneWire library instead of the standard OneWire library. I have not tested it with a MAX 31850 attached to my MCU yet, though.
First, install version 1.0.1 of the Adafruit MAX31850_OneWire library from GitHub: https://github.com/adafruit/MAX31850_OneWire (The Arduino Library Manager goes only to version 1.0.0.)
Then, copy this into MAX31850_OneWire/OneWire.h right after the
#elif defined(ARDUINO_ARCH_ESP8266)
section:Originally posted by @ba58smith in https://github.com/mxtommy/SigkSens/pull/60#issuecomment-450000161