- directshow 程序设计
- sokit-1.0-win32-chs 远程桌面控制程序
- huffman hufman coding. Input QUALITY determines the amount of information that is lost and compression achieved. Y is an encoding structure containing fields: Y.size Size of X Y.numblocks Number of 8
- UnixLinux编程实践教程代码
- 经典函数 经典的测试函数
- GSD嘉年华_使用LabVIEW实现网页数据提取与交互 使用labview实现网页数据提取与交互(use labview operation HTTP data get and communication)
文件名称:weather_lua
-
所属分类:
- 标签属性:
- 上传时间:2016-05-04
-
文件大小:15.11kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
可以在openwrt系统运行,使用lua语言编写。
1.环境:linux(openwrt)
2.依赖:stty 设置串口参数 curl 获取网络设置
cjson 解析json数据
ntpd 网络校时
3.串口名,波特率 城市id 接口签名自行修改
流程:运行后网络对时,打开串口,更新天气数据直到成功,监控串口数据流入,串口返回天气信息-Openwrt system can run using lua language. 1. Environment: linux (openwrt) 2. dependence: stty set up the serial port parameters curl obtain network settings cjson parse json data ntpd school network 3. name of the serial baud rate of the interface signature urban id modification process yourself: After running network time, open the serial port, until a successful update weather data, monitoring serial data flow into the serial port returns weather information
1.环境:linux(openwrt)
2.依赖:stty 设置串口参数 curl 获取网络设置
cjson 解析json数据
ntpd 网络校时
3.串口名,波特率 城市id 接口签名自行修改
流程:运行后网络对时,打开串口,更新天气数据直到成功,监控串口数据流入,串口返回天气信息-Openwrt system can run using lua language. 1. Environment: linux (openwrt) 2. dependence: stty set up the serial port parameters curl obtain network settings cjson parse json data ntpd school network 3. name of the serial baud rate of the interface signature urban id modification process yourself: After running network time, open the serial port, until a successful update weather data, monitoring serial data flow into the serial port returns weather information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
weather.lua
说明.txt
lua-cjson_2.1.0-3_ar71xx.ipk
说明.txt
lua-cjson_2.1.0-3_ar71xx.ipk
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.