Quote Originally Posted by paul borgmeier
a) not clear to me what you want??
b)

PBP supports integers only...
try
F3=125*(F1//16)/2
or
F3=(125*(F1//16))>>2

check your answers to make sure you can live with the roundoff (e.g., if F1=17 then F3 will be 62 not 62,5.)

Paul Borgmeier
Salt Lake City, Utah
USA
i change the code:

' ** CALCULATION OF THE FREQUENCY

F1=PLL
F2=F1/16 'give them MHz
F3=125*(F1//16)/2 'give them kHz

and it's work.
Only have one problem . All frecuencies-step show corect(125,250,500,1000), but the 62,5 show only 62
i.e. for PLL FM ,62,5KHZ is the step.when i choose 62,5 show on LCD 62 ,while i choose 125,250,500,1000 show corect