Mosaic
Well-Known Member
Hi All:
I have a pic 16f886 on a breadboard running a CA, 4 digit via a tpic6c595 shift register. The 7 seg CA display is driven by 2n3906 PNPs to strobe the digits.
I am getting some flicker on the digits and digits that are supposed to be off ghost a bit as well. My display loop is not on an ISR. It's part of the main loop.
The strobe is called every 2 millisecs or less. Between 1 and 1.8ms usually.
That's better than 50Hz, I can't quite see why I am getting flicker.....and ghosting. Do i need a faster refresh?
Also, I am not using Mclr...I need the pin as a digital input. When I first apply power things proceed normally. Then if I power off and on ...the program does not restart from the beginning...it seems to 'remember' where it left off or somehow skip past the start sequence.
I've tried waiting a while but there seems no predictable result...sometimes it works from the start other times it continues where it left off.
Also, I seem to be getting resets every few seconds as well.....Perhaps its all the wires causing interference. I haven't grounded all the unused pins yet., some of which are adc inputs.....should I do that and then test?
Thx..!
I have a pic 16f886 on a breadboard running a CA, 4 digit via a tpic6c595 shift register. The 7 seg CA display is driven by 2n3906 PNPs to strobe the digits.
I am getting some flicker on the digits and digits that are supposed to be off ghost a bit as well. My display loop is not on an ISR. It's part of the main loop.
The strobe is called every 2 millisecs or less. Between 1 and 1.8ms usually.
That's better than 50Hz, I can't quite see why I am getting flicker.....and ghosting. Do i need a faster refresh?
Also, I am not using Mclr...I need the pin as a digital input. When I first apply power things proceed normally. Then if I power off and on ...the program does not restart from the beginning...it seems to 'remember' where it left off or somehow skip past the start sequence.
I've tried waiting a while but there seems no predictable result...sometimes it works from the start other times it continues where it left off.
Also, I seem to be getting resets every few seconds as well.....Perhaps its all the wires causing interference. I haven't grounded all the unused pins yet., some of which are adc inputs.....should I do that and then test?
Thx..!