In your first post you were working with the 16F628A , but the you have the 16F628.inc file posted?
And do not forget to set OSCCON in your code for the speed.
In your first post you were working with the 16F628A , but the you have the 16F628.inc file posted?
And do not forget to set OSCCON in your code for the speed.
Dave
Always wear safety glasses while programming.
Sorry, the 16F628A only has one internal speed.
Comment out the config lines in the *.inc file and add this to your code near the beginning.
Code:'16F628A @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_OFF DEFINE OSC 4
Dave
Always wear safety glasses while programming.
Bookmarks