Dank Jerome scheint es nun zu gehen:
void setup () {
DINIT(57600,ASKSIN_PLUS_PLUS_IDENTIFIER);
if( control.init(hal,DIMMER1_PIN,DIMMER2_PIN) ) {
// first init - setup connection between button and first channel
sdev.channel(1).peer(cfgBtn.peer());
}
// Init the hw button
buttonISR(cfgBtn,CONFIG_BUTTON_PIN);
// Set frequency for CC1101
hal.radio.initReg(CC1101_FREQ2, 0x21);
hal.radio.initReg(CC1101_FREQ1, 0x65);
hal.radio.initReg(CC1101_FREQ0, 0xCA);
DPRINTLN("Config Freq: 0x2165CA");
sdev.initDone();
// Output ID and Serial in serial console
DDEVINFO(sdev);
}