Three Push Buttons, One LED

Pls I have a question
I have three push buttons, and one led

Initial state of led OFF

The led should come ON when the push buttons are pressed in order 1, then 2, then 3.
Once LED is ON. Any button pressed should OFF it.
If you press the push buttons in different order , the LED should blink for 3 times and then OFF.

Pls I really need help THANKS

@Mimat

Start your own thread to ask questions.

Always show us your ‘current’ complete sketch.
Use CTRL T to format the sketch.
Please use code tags.
Use the </> icon in the posting menu.

[code] Paste sketch here. [/code]

Show us a good schematic of your circuit.
Show us a good image of your wiring.
Give links to components.
Posting images:

This would be a good time to learn ‘State Machine’ techniques.

Why are you writing this sketch?

Thread split.

Mimat:
Pls I really need help THANKS

What we do round here is help people to get their code working. You don't seem to have made any attempt to produce any code so there's nothing that we can help with. If you do have something that you have tried to write then post it here.

Steve

3 Push buttons
1 LED

Initial state of the led should be off

The led should come ON when the push buttons are pressed in order 1, then 2, then 3.
Once LED is ON. Any button pressed should OFF it.
If you press the push buttons in different order , the LED should blink for 3 times and then OFF.

Pls I need help

Mimat:
3 Push buttons
1 LED

Initial state of the led should be off

The led should come ON when the push buttons are pressed in order 1, then 2, then 3.
Once LED is ON. Any button pressed should OFF it.
If you press the push buttons in different order , the LED should blink for 3 times and then OFF.

Pls I need help

Pls, you need to follow the rules of this forum.

Thread split. Again.

@Mimat, please do not cross-post.

(Other thread locked.)