Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)
What then is the true usefulness of this DEFINE OSC command?
its not a command, its a compiler directive
as pointed out it is used to:-
inform the compiler what clock speed you're running at so it can adjust various internal timings. that's it nothing else
do read the manual there is a chapter on define OSC
pause command for instance
DEFINE OSC must be used in order for PBP to accurately calculate and generate code for PAUSE. If no DEFINE OSC is placed in the program, PBP will assume that the system clock will operate at 4MHz and calibrate the generated code accordingly.
Warning I'm not a teacher
Bookmarks