ich habe mir heute den aktuellen Sketch vom HM-LC-SW1-BA-PCB runter geladen.
Die in dem Sketch neu hinzugefügte "ResetOnBoot.h" habe ich von Github von pa-pa.
https://github.com/pa-pa/AskSinPP/blob/ ... etOnBoot.h
Leider bekomme ich beim Kompilieren folgende Fehlermeldung:
Code: Alles auswählen
In file included from C:\Users\Admin\Documents\Arduino\HM-LC-SW1-BA-PCB\HM-LC-SW1-BA-PCB.ino:16:0:
C:\Users\Admin\Documents\Arduino\libraries\ResetOnBoot/ResetOnBoot.h: In member function 'void as::ResetOnBoot<DEVTYPE>::setBootState(uint8_t)':
C:\Users\Admin\Documents\Arduino\libraries\ResetOnBoot/ResetOnBoot.h:30:16: error: 'CONFIG_BOOTSTATE' was not declared in this scope
sc.setByte(CONFIG_BOOTSTATE, state);
^
C:\Users\Admin\Documents\Arduino\libraries\ResetOnBoot/ResetOnBoot.h: In member function 'uint8_t as::ResetOnBoot<DEVTYPE>::getBootState()':
C:\Users\Admin\Documents\Arduino\libraries\ResetOnBoot/ResetOnBoot.h:38:23: error: 'CONFIG_BOOTSTATE' was not declared in this scope
return sc.getByte(CONFIG_BOOTSTATE);
^
exit status 1
Fehler beim Kompilieren für das Board Arduino Pro or Pro Mini.
Gruß
Franz