I am putting together the OEM HeatPump Monitor, following the build guide at https://github.com/openenergymonitor/HeatpumpMonitor/blob/master/heatpumpmonitor_build.md
I have reached the stage where a test upload of the atmega328 firmware is recommended. When compiling the https://github.com/openenergymonitor/HeatpumpMonitor/blob/master/Firmware/Arduino/HeatpumpMonitor_AutoTemp/HeatpumpMonitor_AutoTemp.ino file, I get the following errors:
HeatpumpMonitor_AutoTemp:220:38: error: ‘mbus_set_address’ was not declared in this scope
mbus_set_address(254,mbus_address);
HeatpumpMonitor_AutoTemp:225:25: error: ‘mbus_request’ was not declared in this scope
mbus_request(100,3);
HeatpumpMonitor_AutoTemp:325:37: error: ‘mbus_request_data’ was not declared in this scope
mbus_request_data(mbus_address);
Compiling the mbus.ino file, I get several errors regarding ‘customSerial’, the first of which is:
mbus:46:13: error: ‘customSerial’ was not declared in this scope
if (customSerial->available()) {
Is there something I am missing or doing wrong?