I was wondering if anyone could write a sketch for me?
I need two inputs and two outputs. When an input is taken high the output for that input ramps up to 80% brightness then flashes at 100% brightness then starts at 80% brightness and ramps down to 0%, pauses for 150 milliseconds and starts over and continues in this cycle until the input is taken low again. The entire cycle needs to happen in approx. 1.25 seconds (possibly adjustable).
Could anyone help me?
Could be either Arduino NANO, Seeeduino, or maybe 8 pin pic