资源简介
贝壳物联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个文件信息
相关资源
- ADNS-3080光流传感器测试程序Arduino
- EESkill NRF24L01 无线模块用户手册
- Arduino nano 工程文件
- Arduino教程 Lesson 之--自制风扇
- 在各城市的窄带物联网中传感器起到
- 物联网家居系统中基于单片机的多路
- 物联网中无线传感器节点和RFID数据融
- 有关面向工业物联网的无线传感器网
- 物联网无线传感器网络的7大特点
- 基于Arduino的智能环境监控系统设计
- 基于Arduino和Machtalk的温棚环境监测系
- EMCP物联网云平台操作手册
- 电信物联网NB-lot上传编解码插件检测
- 物联网云平台设备管理和相关页面
- esp8266 win10驱动 cp2102
- CSDN文件---ESP8266.rar
- arduino pca9685多舵机同时控制案例
- 中国移动NB-IoT安全白皮书.pdf
- stm32103c8t6ESP8266串口转WIFI模块TCP服务器
- 智能网联汽车信息安全白皮书
- 物联网行业新突破:UWB人员定位技术
- ESP8266ESP8266安卓控制端源代码
- 开放充电协议标准2.0 OCPP 2.0
- arduino技术内幕
- Arduino电子设计实战指南.零基础篇_超
- 物联网智能家居平台DIY:ARDUINO 物联网
- 实验1.zip arduino跑马灯led灯实验,串口
- opencat所有资料.zip
- arduino主机,stm8从机。I2C测试 。每次
- nudemcu相关工具和固件测试稳定
评论
共有 条评论