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.