I had some diffucties while driving my LEDs. First of all pay attention at my sketch: https://docs.google.com/open?id=0B4lnJ_IJ9FMNd0gxbnVEX1J0M0k
The main idea is: that write a certain bit/channel to a shiftregister. This open or close the power supply for a certain led. You might ask how I want to manage the color, the answer is using the pwm on my 3 transistors. Each transistor stands for a certain color.
Lets talk about my problem. I was using shiftout-function to control my shiftregisters. To control my transistors i used until now the analogwrite function.
So as result my leds flickering.
I'm expecting that I'm forced to used instead of analogWrite, the digitalWrite-function but really fast. I also saw other methods like here
But for the beginner like me it's difficult to understand completely the code. Do someone know any page where it's explained really clearly step by step how to do this?
please help me
p.s. I would prefer not to use any libraries because they limit the area of action.