查看ESP8266 ESP NOW的源代码
←
ESP8266 ESP NOW
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== 概述 == 所谓 ESP NOW 就是乐鑫官方为智能照明应用提供的集群控制功能 <br><br> == 快速尝试 == 准备两片 Noduino Falcon 开发板 或 nodemcu v1.0 开发板,USB 连上 PC 下载 SDK: <source lang=bash> # clone the whole sdk $ git clone git://github.com/icamgo/noduino-sdk.git noduino-sdk # fetch the toolchain of esp8266 $ cd noduino-sdk $ git submodule init $ git submodule update $ cd toolchain $ ./gen.py # generate the toolchain (you need Python 2.7) </source> 插上开发板,刷上 ctrl: <source lang=bash> $ cd ../example/esp-now/ctrl $ make flash </source> 插上另外一片开发板,刷上 slave: <source lang=bash> $ cd ../example/esp-now/slave $ make flash </source> 完成后,查看各自的串口输出 <br><br> == SDK API == * esp_now_set_peer_role(slave_mac, ESP_NOW_ROLE_SLAVE); 在 ctrl 边,调用常常失败,建议慎用 <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br>
返回到
ESP8266 ESP NOW
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面