瀏覽代碼

transmit example: move to examples folder, adapt frequency, minimal baud rate

Fabian Peter Hammerle 3 年之前
父節點
當前提交
7295527c79
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/transmit.py

+ 2 - 2
example.py → examples/transmit.py

@@ -8,8 +8,8 @@ logging.basicConfig(level=logging.INFO)
 
 with cc1101.CC1101() as transceiver:
     print("defaults:", transceiver)
-    transceiver.set_base_frequency_hertz(433e6)
-    transceiver.set_symbol_rate_baud(1000)
+    transceiver.set_base_frequency_hertz(433.5e6)
+    transceiver.set_symbol_rate_baud(600)
     print(transceiver)
     print("state", transceiver.get_marc_state().name)
     print("base frequency", transceiver.get_base_frequency_hertz(), "Hz")