diff --git a/examples/stm32/HM-LC-Dim1PWM-CV/HM-LC-Dim1PWM-CV.ino b/examples/stm32/HM-LC-Dim1PWM-CV/HM-LC-Dim1PWM-CV.ino index fbe1a6fb..529d35a1 100644 --- a/examples/stm32/HM-LC-Dim1PWM-CV/HM-LC-Dim1PWM-CV.ino +++ b/examples/stm32/HM-LC-Dim1PWM-CV/HM-LC-Dim1PWM-CV.ino @@ -31,7 +31,6 @@ #define CONFIG_BUTTON_PIN PB12 #define DIMMER1_PIN PB1 -#define DIMMER2_PIN PA3 #define ENCODER1_SWITCH PB15 #define ENCODER1_CLOCK PB13 @@ -61,7 +60,7 @@ const struct DeviceInfo PROGMEM devinfo = { typedef LibSPI RadioSPI; typedef AskSin,NoBattery,Radio > HalType; typedef DimmerChannel ChannelType; -typedef DimmerDevice DimmerType; +typedef DimmerDevice DimmerType; HalType hal; DimmerType sdev(devinfo,0x20); @@ -107,7 +106,7 @@ void setup () { delay(5000); DINIT(57600,ASKSIN_PLUS_PLUS_IDENTIFIER); Wire.begin(); - bool first = control.init(hal,DIMMER1_PIN,DIMMER2_PIN); + bool first = control.init(hal,DIMMER1_PIN); buttonISR(cfgBtn,CONFIG_BUTTON_PIN); buttonISR(enc1,ENCODER1_SWITCH); encoderISR(enc1,ENCODER1_CLOCK,ENCODER1_DATA);