Skip to content

A Python package to interface with the ICOM PCR-1000 serial-controlled radio receiver.

Notifications You must be signed in to change notification settings

ideoforms/pcr1000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

pcr1000.py

A Python package to interface with the ICOM PCR-1000 serial-controlled radio receiver.

Awaiting cleanup and further doc strings; caveat emptor.

#!/usr/bin/python

import time
from pcr1000 import *

pcr = PCR1000()

# start a connection 
pcr.open()

# assign a callback when our reception signal strength is updated
pcr.on_signal_strength(lambda response, device: print "#" * int(response.args[0] * 150))

# start receiving
pcr.start()

# scan from 88.6Mhz to 105.6Mhz wideband FM in 200hz intervals
for freq in range(int(88e6), int(105e6), 200):
    pcr.tune(freq, PCR1000.MODE_WFM, PCR1000.FLT_230K)
    time.sleep(0.1)

About

A Python package to interface with the ICOM PCR-1000 serial-controlled radio receiver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages