So I'm making a tic-tac-toe game and I'm using RGB LEDs and push buttons to do it. I was wondering how I can make the three lights that are in a row blink. I just simply didn't know how to code this.
So if the red pin on the first three RGB LEDs is lit up I want those three to blink until the arduino is reset
those three pins are
const int RED_PIN1 = 22; const int RED_PIN2 = 28; const int RED_PIN3 = 34;
the code is below in my reply in an attachment, sorry i forgot to put it here.