this as well:define osc 4
porta = 0
trisa = 0
portb = 0
trisb = 0
porta = %10010
pulsout portb.0,150
pause 10
porta = %11001
pulsout portb.0,150
so on .......
Maybe worth changing the 'pause 10' to 'pause 1' if your display is flickering.
does your 4mhz crystal have 2 caps (18 - 22pf) between each leg and ground?
not shown on your diagram.
Bookmarks