From 0917738f20328de743be272ce4b042945d701830 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期六, 28 一月 2023 15:41:25 +0800 Subject: [PATCH] Radio add channel jumpper config --- Inc/KWireLess.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Inc/KWireLess.h b/Inc/KWireLess.h index 2dd5963..9488d41 100644 --- a/Inc/KWireLess.h +++ b/Inc/KWireLess.h @@ -18,15 +18,15 @@ /************************************************************************************************************************************** -Demo 程序流程 RadioEnableMaster=true 为主机端,主机端发送一个"PING"数据后切换到接收,等待从机返回的应答"PONG"数据LED闪烁 +Demo 绋嬪簭娴佺▼ RadioEnableMaster=true 涓轰富鏈虹锛屼富鏈虹鍙戦�佷竴涓�"PING"鏁版嵁鍚庡垏鎹㈠埌鎺ユ敹锛岀瓑寰呬粠鏈鸿繑鍥炵殑搴旂瓟"PONG"鏁版嵁LED闂儊 - RadioEnableMaster=false 为从机端,从机端接收到主机端发过来的"PING"数据后LED闪烁并发送一个"PONG"数据作为应答 + RadioEnableMaster=false 涓轰粠鏈虹锛屼粠鏈虹鎺ユ敹鍒颁富鏈虹鍙戣繃鏉ョ殑"PING"鏁版嵁鍚嶭ED闂儊骞跺彂閫佷竴涓�"PONG"鏁版嵁浣滀负搴旂瓟 ***************************************************************************************************************************************/ - +extern uint32_t nRadioChannel; void SendPingMsg(void ); -int KWireLessInit(bool bRadioEnableMaster); +int KWireLessInit(bool bRadioEnableMaster, uint32_t nChn); int KWireLessStart(void); void OnTxDone( void ); -- Gitblit v1.9.1