Forgot to read switches
This commit is contained in:
parent
68da22384a
commit
a82e886101
|
@ -126,8 +126,8 @@ void setup()
|
|||
pinMode(HORNP_PIN, OUTPUT);
|
||||
|
||||
// Load system configuration
|
||||
cfg.BuzzerStatus = digitalRead(A4) ? BUZZER_ON : BUZZER_OFF;
|
||||
cfg.PanelSide = digitalRead(A5) ? RIGHT : LEFT;
|
||||
cfg.BuzzerStatus = digitalRead(MUTE_PIN) ? BUZZER_ON : BUZZER_OFF;
|
||||
cfg.PanelSide = digitalRead(LR_PIN) ? LEFT : RIGHT;
|
||||
|
||||
// Communication w/PC for debug or other puroposes
|
||||
Serial.begin(9600);
|
||||
|
|
Loading…
Reference in New Issue