My THN132N wireless temperature sensor is dead so I have decided to replace it by ATtiny202 with built in temperature measurement and send data to the Oregon Scientific base station.
I was inspired by the project "Make Your Own Remote Temperature/Humidity Sensor" and I would like to adopt Arduino code to ATtiny202. Unfortunately MPLAB X IDE and XC8 compiler reports some errors. Is there any way how to use Arduino constructor function class in XC8 or how to modify it e.g.
OregonSensor::OregonSensor(uint8_t txPin, uint8_t channel, uint8_t sensorID, bool Humidity)
See WlessOregonV2.cpp code.