If this is all the code and you are trying to run it on a 628A device, I bet it will never do anything!
Since in a reply or more replies it is impossible to teach you what all these fuses and configurations are, you have to do your homework too.
1. Get a data sheet of the device (in this case 16F628A from microchip)
2. Read it thouroughly as it has many systems and subsystems that all are multiplexed with the 16 pins of the device.
3. Also study the PBP manual.
Then you may start blinking a LED!
Are you sure thet you are running the chip on the internal osc? How did you set it to? Have you set the MCLR pin at the appropriate level (HIGH) or did you disabled from the config fuses or more from within the programmer?
By the way, what is your programmer?
Ioannis
Bookmarks