arduino-heatpumpir
arduino-heatpumpir copied to clipboard
Cannot compile
Took your example from https://github.com/mysensors/MySensorsArduinoExamples/blob/master/examples/HeatpumpIRController/HeatpumpIRController.ino
But seems cannot compile. I have already redone several clean installations of arduiono IDE 1.06 and 1.8.3 but failed with the same error. Always complains on "is protected" Can be different libraries but error always the same
libraries\HeatpumpIR/CarrierHeatpumpIR.h:63:5: error: 'CarrierHeatpumpIR::CarrierHeatpumpIR()' is protected
Libraries used Using library HeatpumpIR at version 1.0.7 in folder: Using library Wire at version 1.0 in folder: Using library SI7021 in folder: Using library Timer in folder: Using library SPI at version 1.0 in folder: Using library MySensors at version 2.1.1 in folder:
Oh, I should make a new version of the example. The problem simply is that now the 'CarrierHeatpumpIR' is a virtual class, and there are a number of implementations of it. Starting from row 68, just comment out the ones which cause problems, or replace them with the concrete implementation.