查看ESP8266 UART的源代码
←
ESP8266 UART
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== 快速尝试 == 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> 插上开发板,编译上传一步完成: <source lang=bash> $ cd ../example/hello $ make flash Uploading 28080 bytes from build/0x00000.bin to flash at 0x00000000 ............................ Uploading 185236 bytes from build/0x40000.bin to flash at 0x00040000 ............................................................................................... </source> 上传完成后,11520 的波特率打开串口,就能看到定时输出的 "Hello World!" : <source lang=bash> $ minicom -b 115200 -o -D /dev/ttyUSB0Welcome to minicom 2.6.1 Welcome to minicom 2.6.1 OPTIONS: I18n Compiled on Feb 11 2012, 18:12:55. Port /dev/ttyUSB0 Press CTRL-A Z for help on special keys Hello World! Hello World! Hello World! ...... ...... </source> <br><br>
返回到
ESP8266 UART
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面