#include <FastLED.h>
#define DATA_PIN 2
#define NUM_LEDS 4
CRGB leds[NUM_LEDS];

#include <U8g2lib.h>
#include <Wire.h>
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);

// gebruik pins 4,16-33  16=RX2
int rij[] = {19, 18, 33 , 23};
int kol[] = {16, 4, 32 , 15};

int pin_status_led = 17;
int pin_buzzer = 14;

int pin_panic = 35; //exernal pullup needed
int pin_door = 25;
int pin_window = 26;
int pin_PIR = 27;

unsigned long timer_in = 0, timer_out = 0, timer_sir = 0;

String toetsen[4][4] = {{"1", "2", "3", "A"}, {"4", "5", "6", "B"}, {"7", "8", "9", "C"}, {"*", "0", "#", "D"}};
// of char toetsen[4][4] = {{'1','2'..........................

String geheimecode = "33AD";
int alarm_status = 0;

void setup() {
  // put your setup code here, to run once:
  fct_init();
  FastLED.addLeds<WS2812, DATA_PIN, GRB>(leds, NUM_LEDS);

}

void loop() {
    delay(10);
  // put your main code here, to run repeatedly:
    scan_keyboard();
    scan_alarm_inputs();
    handle_status_led();
    handle_oled();
    handle_ledpixels();
    handle_buzzer();
    handle_relais();
    handle_alarm_states();
    handle_timers();

}
$abcdeabcde151015202530354045505560fghijfghij
NOCOMNCVCCGNDINLED1PWRRelay Module