Hello everyone,
I'm a total noob and have only high school knowledge of electronics.
One part of my project is a 4x4 RGB buttons matrix (how original...). Since I only have 6 PWM pins on my UNO and no TLC5940, I can't really mux the matrix (and I only have common cathode RGB LEDs, apparently it's not good for TLC5940 anyway...).
So I was thinking about using 74HC595 (x2) as a digital shift register but not using PWM. Instead, I wonder if it's possible to simulate analogWrite by flicking digitalWrite ON/OFF real fast and delay the ON state to simulate 0-255 values...
Hope I'm clear enough...
Thanks for your help ![]()

