OK!Personally I prefer:
servo3 equ 0
and in the code:
PORTC, servo3
rather than:
#define servo3 PORTC, 0
and in the code:
servo3
I don't really get your point...but I think I see a little bit what you mean...will fix that too!purely because if you hover the mouse over the first one you can tell what it is, but if you use the second version the IDE won't tell you so you have to scroll back up to check the define section.
Will fix the SFRs to capitals...the datasheet I attached does not talk about the clock...Ok then if you say it is set in the config word...Also should all the SFRs be in capitals?
The external clock should be in the config word, check that section of the datasheet or possibly the 16F877.inc file.
thanks!