How did you find out how to set the Internal Oscilator for the 16F628 ?
Presumably by looking in the datasheet for the device to see what needed to be configured.
By looking in the datasheet for any PIC you will be able to find what needs to be set. It may take a few tries before you get the correct results but that is how you learn....from your mistakes.
Also read the sections about Analogue Ports and Comparators.






Bookmarks