I'm totally new with Arduino and i just have some knowledge in electronics. I plan to replicate the Blitz Shield from Rainbow Six Siege.
What I have:
Inputs: 5 Momentary buttons (4 to set one of four strobe paterns, one button as a trigger to start strobing) Outputs: Two relays each switching a group of LEDs
What i want the code to do:
Mode 1: Both relays on Mode 2: Strobe both relays (150ms on/150ms off) Mode 3: Strobe relay 1 three times, then strobe relay 2 three times (150ms on/150ms off) Mode 4: Strobe both relays randomly (50...500ms on/50...500ms off)
Trigger: Flash the LEDs with the previously set mode for as long as the trigger button is pressed
If someone would lead me to the correct code, that would be great!