/*U8g2Lib.h Define
#include <U8g2lib.h>
#include <Wire.h>
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ //U8X8_PIN_NONE);
/*
//NeoPixel_Leds Define
#include <FastLED.h>
#define DATA_PIN 13
#define NUM_LEDS 4
CRGB leds[NUM_LEDS];
*/
//Inputs Define
const int PIR_Pin = 14;
const int Button_Pin[] = {33, 32, 35};
//Outputs Define
const int Buzzer_Pin = 27;
const int Relay_Pin = 16;
const int PixelLed = 13;
//Global Variables Define
int Code_Length = 4;
String Code_Secret = "1111";
//Admin Code Config Adaption can be inplemented Within Setup 18Characters Currently
String Code_Admin = "1A12AB23ABC34ABCD4";
String Code_Input_Current;
String Code_Input_Before;
String Code_Input_Setup;
String Code_AdminInput_Current;
String Code_AdminInput_Before;
bool Alarm_SetupState_Bool = 0;
bool Alarm_Activated_Bool = 0;
//Define Contents Of Row Array and Column Array
int Row_IntArray[] = {19, 18, 5, 4};
int Column_IntArray[] = {23, 22, 21, 2};
String Buttons[4][4] = {
{"1", "2", "3", "A"},
{"4", "5", "6", "B"},
{"7", "8", "9", "C"},
{"*", "0", "#", "D"}
};
void setup()
{
Func_Setup();
}
void loop()
{
delay(10);
Func_ReadKeypad();
}