Hi,
I have timing errors with a LED flash, on 18F4520 PIC
I have a circuit with these PICs using internals 8mHz timing. I am having problems as there is a start-up LED flash ON/OFF, that appeared to be going far too fast.
I made a simple circuit board, with a 20mHz Crystal plus Caps. The MCLR is 10K pulled-up. And a LED. With a simple program (LVP disabled) and a goto loop (LED on, waitms 1000, LED off, waitms 1000) The LED flashes at 75 ons and 75 offs/min. The crystal shows 20mHz on an oscilloscope.
Any ideas please.
Camerart.
I have timing errors with a LED flash, on 18F4520 PIC
I have a circuit with these PICs using internals 8mHz timing. I am having problems as there is a start-up LED flash ON/OFF, that appeared to be going far too fast.
I made a simple circuit board, with a 20mHz Crystal plus Caps. The MCLR is 10K pulled-up. And a LED. With a simple program (LVP disabled) and a goto loop (LED on, waitms 1000, LED off, waitms 1000) The LED flashes at 75 ons and 75 offs/min. The crystal shows 20mHz on an oscilloscope.
Any ideas please.
Camerart.