I have this:
I2CWRITE SDA,SCL,ADDR1,[HI,LO,$8E,BAND] 'Sending of the data to the module
in code and work.
BAND is : BAND VAR BYTE
If PLL>720 and PLL<2720 then BAND=$60 'Low range = 45 -> 170 MHz.
If PLL=>2720 and PLL<=7200 then BAND=$50 'Mid range = 170 -> 450 MHz.
If PLL>7200 and PLL<14240 then BAND=$30 'High range = 450 -> 890 MHz.
I want to add and the I2CREAD command to know if the PLL is Lock and to display on LCD.
I2CREAD SDA,SCL,ADDR2,[LOCK]
How;
Bookmarks