Alarm Input Management

Believe this code in some way exist but the web search do not helped.
I'm just starting and needs some advise to point at the right direction to develop the functionality described.

Alarm management
Hardware
2 digital input from switch (i.e. level switch)
1 digital input to push button (alarm acknoledge)
2 digital out to LEDs
1 digital out to a buzzer

Description (temporal sequence)
normal condition: all switch Open, LEDs Off, Buzzer Off.
switch1 close = LED1 flash fast, Buzzer sound
switch2 close = LED2 flash slow, Buzzer sound
switch1 Open = LED1 flash fast, Buzzer sound (no change)
Press acknoledge PB = Buzzer silent, LED1 Off, LED2 on steady.
switch2 Open = LED2 Off, Buzzer silent.

Note:
The first alarm shall originate fast flashing LED to distinguish from second alarm.

Any hint or link is appreciated
DP

What have you tried? Can you reliably read the switches? Can you make the LED turn on and off? Can you make the buzzer make noise? Once you can do those things (and there are examples for each), you know that the wiring is correct, and that the hardware works. Combining the examples to create a finished sketch is not that difficult. Or, it wouldn't be if your requirements weren't so vague.

You need to make the requirements exact - no terms like fast and slow. Define exactly what fast means. Define exactly what slow means.

PaulS, I've no problems on the hardware side to read an input or write to an output.
Understand this part of the Forum is dedicated to Programming Questions, and my post is asking for a programming hint.
So far none line of code has been written.
About your comment, fast and slow means a visual difference in such a way we can understand witch alarm/switch arrived first.

welcome.

download and open the arduino progrma.

under files there are examples.

pin 13 on many arduions has an LED you can use to help show what is happening.

load Button from the examples/digital section.

read through that and try it out. that will show you how to read those switches

then load blink without delay. that is a bit more of a gradient, but you should be able to follow that as well.

break your code into sections.

section 1 - read the switches

section 2 - turn on /off the outputs

the program will loop and input then output... over and over.

the blink without delay is the place you really need to grasp.

each condition can have it's own counter.
the fast counter would cycle quickly, the slow one would take longer.

this is a great project for an introduction. it will force you to learn the basics and you only need the basics.

getting multiple blink without delay loops going at the same time is the key.

also, you may want to youtube arduino tutorial with jeremy blum. he has a sloppy way of going over some of the information, but the first couple tutorials are good for a beginner.

by bug I have with him is that in one he says, 'use a library'
that's it. that is his entire introduction, explanation and detailing of libraries.
I dropped him an e-mail and asked that he do a tutorial on libraries. how to save, were to find them, how to get them out of a program, how to know when to use them, what they actually do, etc.
he replied. I already covered libraries. ok... beginning to rant.... moving on....

your job is to see a switch and blink without delay.

estimated time to get one switch input and blink without delay. less than 1 hour.
get two blink without delays going at the same time, less than 1 additional hour