AOR AR-7030 Computer Remote Control Protocol Manual
Have a look at the manual AOR AR-7030 Computer Remote Control Protocol Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 212 AOR manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
‘ Exact multiplicand is (2^24)/ 44545 print #1,chr$(&H30+int(fr.val#/1048576)); fr.val# = fr.val# mod 1048576 ‘ Write frequency as 6 hex dig- its print #1,chr$(&H60+int(fr.val#/65536)); fr.val# = fr.val# mod 65536 print #1,chr$(&H30+int(fr.val#/4096)); fr.val# = fr.val# mod 4096 print #1,chr$(&H60+int(fr.val#/256)); fr.val# = fr.val# mod 256 print #1,chr$(&H30+int(fr.val#/16)); print #1,chr$(&H60+(fr.val# mod 16)); return REM Subroutine to read frequency (Called only from other routines) read.freq: fr.val# = 0 for read.loop = 1 to 3 gosub read.byte ‘ Read frequency as 3 bytes if read.value < 0 then exit for fr.val# = fr.val#*256+read.value next read.loop rx.freq# = fr.val#/376.635223 ‘ Convert steps to kHz return