Skip to content

ideoforms/pcr1000

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

No packages published

Languages