Raju C
Member level 2
Hi all...
If i enter the frequency through GUI(graphical user interface) and with that frequency i want to calculate some other value that i am going to use in my code .
ex: i am entering frequency 400.125MHz and band width=25kHz
so i need to calculate N value
i.e N = 400.125MHz/25kHz
= 16005 = 3E85(hex)
so each time entering different frequency it has to calculate N value. is that in the code the first step i can take which divides that frequency?? and how can i divide this ?
pls help anyone..
If i enter the frequency through GUI(graphical user interface) and with that frequency i want to calculate some other value that i am going to use in my code .
ex: i am entering frequency 400.125MHz and band width=25kHz
so i need to calculate N value
i.e N = 400.125MHz/25kHz
= 16005 = 3E85(hex)
so each time entering different frequency it has to calculate N value. is that in the code the first step i can take which divides that frequency?? and how can i divide this ?
pls help anyone..