资源简介
贝壳物联arduino esp8266 demo版本;贝壳物联平台非常简单,适合搭建毕业设计
代码片段和文件信息
/*
Copyright (c) 2001 Interactive Matter Marcus Nowotny
based on the cJSON Library Copyright (C) 2009 Dave Gamble
Permission is hereby granted free of charge to any person obtaining a copy
of this software and associated documentation files (the “Software“) to deal
in the Software without restriction including without limitation the rights
to use copy modify merge publish distribute sublicense and/or sell
copies of the Software and to permit persons to whom the Software is
furnished to do so subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
// aJSON
// aJson Library for Arduino.
// This library is suited for Atmega328 based Arduinos.
// The RAM on ATmega168 based Arduinos is too limited
/******************************************************************************
* Includes
******************************************************************************/
#include
#include
#include
#include
#include
#ifdef __AVR__
#include
#else
#include
#endif
#include “aJSON.h“
#include “utility/stringbuffer.h“
/******************************************************************************
* Definitions
******************************************************************************/
//Default buffer sizes - buffers get initialized and grow acc to that size
#define BUFFER_DEFAULT_SIZE 4
//how much digits after . for float
#define FLOAT_PRECISION 5
bool
aJsonStream::available()
{
if (bucket != EOF)
return true;
while (stream()->available())
{
/* Make an effort to skip whitespace. */
int ch = this->getch();
if (ch > 32)
{
this->ungetch(ch);
return true;
}
}
return false;
}
int
aJsonStream::getch()
{
if (bucket != EOF)
{
int ret = bucket;
bucket = EOF;
return ret;
}
// In case input was malformed - can happen this is the
// real world we can end up in a situation where the parser
// would expect another character and end up stuck on
// stream()->available() forever hence the 500ms timeout.
unsigned long i= millis()+500;
while ((!stream()->available()) && (millis() < i)) /* spin with a timeout*/;
return stream()->read();
}
void
aJsonStream::ungetch(char ch)
{
bucket = ch;
}
s
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 63470 2017-06-05 15:32 Arduino_ESP8266\Arduino+ESP01清单.png
文件 52182 2017-06-04 18:23 Arduino_ESP8266\arduino_esp.sch
文件 123551 2017-06-04 18:23 Arduino_ESP8266\arduino_esp接线原理图.pdf
文件 56655 2017-06-04 19:46 Arduino_ESP8266\esp-01针脚说明.jpg
文件 302501 2017-05-23 21:00 Arduino_ESP8266\乐鑫刷固件及smartconfig工具\esptouch_android-apk_v0.3.4.3_0.rar
文件 74970 2017-05-27 17:22 Arduino_ESP8266\乐鑫刷固件及smartconfig工具\esptouch_ios-ipa_v0.3.4.3_0.rar
文件 8807140 2017-04-13 21:00 Arduino_ESP8266\乐鑫刷固件及smartconfig工具\flash_download_tools_v3.4.4_0.zip
文件 4640 2017-06-05 14:53 Arduino_ESP8266\代码\Arduino代码\Arduino_code\Arduino_code.ino
文件 99 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\.gitignore
文件 28264 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\aJSON.cpp
文件 9894 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\aJSON.h
文件 7493 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\Json_Example\Json_Example.ino
文件 2630 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\Json_Serial\Json_Serial.ino
文件 2461 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\MultiLevelParsing\MultiLevelParsing.ino
文件 1686 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\keywords.txt
文件 310 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\library.json
文件 10907 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\README.md
文件 3402 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\utility\stringbuffer.c
文件 1316 2016-08-27 17:04 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\utility\stringbuffer.h
文件 46 2017-06-05 14:45 Arduino_ESP8266\代码\Arduino代码\readme.txt
文件 95852 2017-05-27 17:09 Arduino_ESP8266\代码\ESP-01 Smartconfig 直接透传贝壳物联固件\flash_map.JPG
文件 426 2017-06-04 15:11 Arduino_ESP8266\代码\ESP-01 Smartconfig 直接透传贝壳物联固件\readme.txt
文件 254944 2017-05-27 16:54 Arduino_ESP8266\代码\ESP-01 Smartconfig 直接透传贝壳物联固件\smartconfig2bigiot.bin
文件 1358556 2017-06-05 14:43 Arduino_ESP8266\使用说明.docx
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\Json_Example
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\Json_Serial
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples\MultiLevelParsing
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\Examples
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson\utility
目录 0 2017-06-05 08:32 Arduino_ESP8266\代码\Arduino代码\libraries\aJson
............此处省略10个文件信息
相关资源
- 基于ACS712的直流电机电流监测系统的
- ESP8266程序加上MQTT调试工具
- ESP8266_NONOS_SDK-3.0
- ESP8266+OLED屏实现天气预报+温度显示
- HMC5883L罗盘指南针模块库文件及中英文
- arduino 小贱钟源码及教程
- IOT_FLASH TOOL
- [考研资料]物联网安全
- 物联网毕业论文
- stm32f7的esp8266spi并口源程序,速率1.
- 基于STM32、Onenet的室内空气质量实时及
- 2019年数字孪生白皮书2019.pdf
- ESP8266连接云平台
- Thingsboard入门指南
- STM32C8T6通过扫描二维码进行智能开锁
- 物联网全产业链
- 基于物联网技术的智能农业.pdf
- Atom-TMC2208Pilot在Arduino上运行的应用程
- ESP8266微信配网以及公众号绑定
- 写字机制作方案
- openwrt开发教程
- GBT36620-2018面向智慧城市的物联网技术
- PID-增量式PID和位置式PID算法实现和
- 物联网环境监测数据中心
- 电信物联网开发者平台北向API_DEMO源码
- 物联网,WEBSOCKET丰富案例
- Building Wireless Sensor Networks Using Arduin
- 物联网智能水卡管理系统
- ESP8266一键烧写工具
- 手机与ESP8266WiFi模块进行通信
评论
共有 条评论