elcojacobs / ShiftPWM

Arduino Library for software PWM with shift registers
MIT License
176 stars 86 forks source link

Flickering regardless of set frequency on Arduino UNO R3(actually it's Nhduino but it doesn't matter) #9

Open SageStarCodes opened 9 years ago

SageStarCodes commented 9 years ago

I have 3 74HC595s controlling SIX(yes six, because I don't like to use the one pin on the other side of the chip)common cathode RGB LEDs with frequency set to 240(anything lower was just flickering so much I could not look at the LEDs)... First two registers flicker the LEDs at about 15Hz and the third one is fine fading the green but not blue and red(I will upload image of my PCB in Fritzing later)... Using timer2 just makes it worse or not working at all, using balance load slows the flicker to about 3/4 of the speed.