diff options
author | Sergey Prilukin <spriluki@tibco.com> | 2018-11-25T22·21+0200 |
---|---|---|
committer | Sergey Prilukin <spriluki@tibco.com> | 2018-11-25T22·21+0200 |
commit | 2b4e6d91ff0643e1bfd9cf14360f60bb79ceb4a9 (patch) | |
tree | 0c8fdc7aacc7a55ae9ad7f0ab69084cb03ad606d /README.md | |
parent | 1cceae73eb4f936283c6eaf9eed99f365a37d467 (diff) | |
parent | 694b4423b50cc55f9a48d14a41f1615799342c43 (diff) |
Merge branch 'rf_experiment' into rf_experiment_v0.9
# Conflicts: # README.md # broadlink/__init__.py # cli/broadlink_cli
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md index 74473b8e3063..d5e0154db221 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,27 @@ Enter learning mode: devices[0].enter_learning() ``` +Sweep RF frequencies: +``` +devices[0].sweep_frequency() +``` + +Cancel sweep RF frequencies: +``` +devices[0].cancel_sweep_frequency() +``` +Check whether a frequency has been found: +``` +found = devices[0].check_frequency() +``` +(This will return True if the RM has locked onto a frequency, False otherwise) + +Attempt to learn an RF packet: +``` +found = devices[0].find_rf_packet() +``` +(This will return True if a packet has been found, False otherwise) + Obtain an IR or RF packet while in learning mode: ``` ir_packet = devices[0].check_data() |