19531Hz for a 20Mhz
I remember using 5Khz for one of my project for motor driver PWM.
How can I change steve's program to use a 20Mhz crystal?
19531Hz for a 20Mhz
I remember using 5Khz for one of my project for motor driver PWM.
How can I change steve's program to use a 20Mhz crystal?
well 10800hz fall well within those range , so no problem there.
k
I changed the header to
INCLUDE "modedefs.bas" 'Includes supoprt for PicBasic language
@ DEVICE pic16F88,CCPMX_ON
' Setup Crystal oscillator Frequency to be used by PIC chip in MHz
DEFINE OSC 20 'use external 20mhz crystal
and it is now working.
Ok... In the last couple of posts, the freq wasn't 10.8khz.
....really? I only see 10800hz in my post, where is the typo
k
Bookmarks