Hi all,

This is my first post and only based on what I could read, not tried.

As far as I can see, with a "DEFINE OSC xx" command (with xx = 3, 4, 8, 10, etc... MHz), I can tell the PBP the oscillator frequency to produce the correct timing for instructions such as: COUNT, DEBUG, DEBUGIN, DTMFOUT, FREQOUT, HPWM, HSERIN, HSEROUT, I2CREAD, I2CWRITE, LCDOUT, OWIN, OWOUT, PAUSE, PAUSEUS, SERIN, SERIN2, SEROUT, SEROUT2, SHIFTIN, SHIFTOUT, SOUND, XIN and XOUT.

My questions are as follows:

a) Is this list of (timing) affected commands complete? or should I worry for something else?

b) I could read somewhere that for the compiler to work, I have to declare an OSC value belonging to the above mentioned discrete set of values. But how should I proceed if my end hardware has (e.g.) a 6 MHz Xtal??

c) Regarding b): Should I declare 4 MHz to the compiler only, and then write some kind of commands to introduce "corrections" in the timings of the different instructions?

d) Regarding c) How are then these corrections introduced? (if possible).

Thanks a lot

msnm4