Do you want a couple of programs that generate 30khz squarewave ? (50% duty cycle) .
You didn't answer my question about why you think you need PWM as opposed to squarewave (50% duty cycle).
You also didn't address my question about why nobody is talking about multiplexing the leds from a single 30khz signal (of whatever type it turns out you need) . I am willing to give you the programs but not until I get a SITREP (Mil-Speak for SITUATION REPORT) detailing everything you have done in terms of hw software in the format:
- wired circuit per THIS schematic (cell phone photo of hand drawn schematic using diagram blocks to represent arduino but including pin numbers for all connected pins.
- photo of circuit
- Entire code as IDE *.ino file
- If possible also post the whole program using code tags (probably too large to do this but you could try)
- List of exactly what you have done
a. Ran test with these parameters
b Changed these parameters (variables whatever) to these values ) and reran test; Observations:==>[observations]
c. Made following changes to circuit :==> [changes]
d. Change code parameters to these and retested with modified circuit rev V-1.1
e. Upgraded circuit to V-1.2 by changing these components :==>[changes]
If you kept a log like any scientist or engineer normally does all of the above is already in your log.