I have a RGB LED and I have everything wired properly. I am looking for code that will make at least one LED go to music.
Here is some code I already have
analogWrite(r,map(analogRead(A0),0,1023,0,255));
note I just have a audio signal connected directly to the analog input.
can some one recommend, create or teach me how to make an led blink to music nicely?