ESP8266 ESP NOW

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(以“== 概述 == <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> <br><br> <br><br>”为内容创建页面)
 
(概述)
第3行: 第3行:
  
 
<br><br>
 
<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>
 
<br><br>
 
<br><br>
 
<br><br>

2015年11月14日 (六) 18:16的版本

1 概述



2 快速尝试

准备两片 Noduino Falcon 开发板 或 nodemcu v1.0 开发板,USB 连上 PC


下载 SDK:

# 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)


插上开发板,刷人 ctrl:

$ cd ../example/esp-now/ctrl

$ make flash


插上另外一片开发板,刷人 slave:

$ cd ../example/esp-now/slave

$ make flash


完成后,查看各自的串口输出































个人工具
名字空间

变换
操作
导航
工具箱