compiling your "main" in Arduino 1.8.13 gets the following error:
_C:\Users\schro\Documents\Arduino\main\screen.ino: In function 'void _screenheader()':
screen:44:58: error: 'axp' was not declared in this scope
snprintf(buffer, sizeof(buffer), "%.1fV %.0fmA", axp.getBattVoltage()/1000, axp.getBattChargeCurrent() - axp.getBattDischargeCurrent());
^
exit status 1
'axp' was not declared in this scope
compiling your "main" in Arduino 1.8.13 gets the following error:
_C:\Users\schro\Documents\Arduino\main\screen.ino: In function 'void _screenheader()': screen:44:58: error: 'axp' was not declared in this scope snprintf(buffer, sizeof(buffer), "%.1fV %.0fmA", axp.getBattVoltage()/1000, axp.getBattChargeCurrent() - axp.getBattDischargeCurrent()); ^ exit status 1 'axp' was not declared in this scope
Please can you help? Regards Juergen