查看RTL 433的源代码
←
RTL 433
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Radio/RCSwitch 参考 == <source lang=cpp> /* Sends a "0" Bit * _ * Waveform Protocol 1: | |___ * _ * Waveform Protocol 2: | |__ * __ * Waveform Protocol 4: | |_ */ void Radio::send0() { if (this->nProtocol == 1){ this->transmit(1,3); } else if (this->nProtocol == 2) { this->transmit(1,2); } else if (this->nProtocol == 3) { this->transmit(4,11); } else if (this->nProtocol == 4) { this->transmit(1,2); } } /* Sends a "1" Bit * ___ * Waveform Protocol 1: | |_ * __ * Waveform Protocol 2: | |_ * __ * Waveform Protocol 4: | |_ */ void Radio::send1() { if (this->nProtocol == 1){ this->transmit(3,1); } else if (this->nProtocol == 2) { this->transmit(2,1); } else if (this->nProtocol == 3) { this->transmit(9,6); } else if (this->nProtocol == 4) { this->transmit(2,1); } } </source> Protocol 1: * pulse_len = 350us * 0: H350x1_L350x3 <--- 则 s=350,l=1050 * 1: H350x3_L350x1 * pre = 350us x 31 Protocol 2: 650us, Protocol 3: 100us, Protocol 4: * pulse_len = 350us * 0: H350x1_L350x2 <--- s=350,l=700 * 1: H350x2_L350x1 * pre = 350us x 14 <br>
返回到
RTL 433
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面