I also have a 20mhz crystal. Would this be better to use? Also, I really don't know how to adjust the algorithim for any change in crystal speed, how would you do this? Additionally, on ProtectionsDynamoBen's post, do I need to include the following in the program:
@ DEVICE pic16F628, HS_OSC ' System clock Options
@ DEVICE pic16F628, WDT_ON ' Watch Dog Timer
@ DEVICE pic16F628, PWRT_ON ' Power-on timer
@ DEVICE pic16F628, BOD_ON ' Brown-out detector
@ DEVICE pic16F628, MCLR_OFF ' Master Clear Options
@ DEVICE pic16F628, LVP_OFF ' Low-voltage programming
@ DEVICE pic16F628, CPD_OFF ' Data Memory Code Protect
@ DEVICE pic16F628, PROTECT_OFF ' Program Code
I noticed after time setup, the program changes the contitions of some of the registries. Do I need to do the same and what should they be?
Sorry for being a hassle but I really appreciate you alls help on this.
Thanks
Bookmarks