strobesync

This commit is contained in:
Lexzach 2023-01-01 10:54:54 -05:00
parent ebd36b42c7
commit 4c15695bd0
Signed by: Lexzach
GPG Key ID: B574880929E6F1F0

View File

@ -713,7 +713,7 @@ void checkButtons(){
//----------------------------------------------------------------------------- NAC ACTIVATION //----------------------------------------------------------------------------- NAC ACTIVATION
void alarm(){ void alarm(){
if (strobe){ if (strobe){
if (strobeSync == 0){ if (strobeSync == 0){ //add more strobesyncs in the future
strobeOn(true); strobeOn(true);
} else if (strobeSync == 1 or strobeSync == 2){ } else if (strobeSync == 1 or strobeSync == 2){
if (strobeSyncTimer >= 1000){ if (strobeSyncTimer >= 1000){
@ -1027,7 +1027,7 @@ void config(){
char *mainPanelSettings[] = {"Panel Name","Panel Security","LCD Dim:","Factory Reset","About"}; //menu 8 char *mainPanelSettings[] = {"Panel Name","Panel Security","LCD Dim:","Factory Reset","About"}; //menu 8
char *mainPanelSettingsPanelSecurity[] = {"None","Keyswitch","Passcode"}; //menu 9 char *mainPanelSettingsPanelSecurity[] = {"None","Keyswitch","Passcode"}; //menu 9
char *mainPanelSettingsPanelName[] = {"Enter Name:"}; //menu 10 char *mainPanelSettingsPanelName[] = {"Enter Name:"}; //menu 10
char *mainSettingsFireAlarmSettingsStrobeSync[] = {"None","System Sensor","Wheelock","Gentex","Simplex"}; //menu 11 char *mainSettingsFireAlarmSettingsStrobeSync[] = {"None","System Sensor","Wheelock"};//,"Gentex","Simplex"}; //menu 11
char *mainPanelSettingsAbout[] = {"Antigneous FACP","Firmware: ","by Lexzach"}; //menu 12 char *mainPanelSettingsAbout[] = {"Antigneous FACP","Firmware: ","by Lexzach"}; //menu 12
if (digitalRead(resetButtonPin)){ //RESET BUTTON if (digitalRead(resetButtonPin)){ //RESET BUTTON