资源简介
包含dht11.h的库文件,C语言版,arduino内可添加,,,,,
代码片段和文件信息
/*
This is the core graphics library for all our displays providing a common
set of graphics primitives (points lines circles etc.). It needs to be
paired with a hardware-specific library for each display device we carry
(to handle the lower-level functions).
Adafruit invests time and resources providing this open source code please
support Adafruit & open-source hardware by purchasing products from Adafruit!
Copyright (c) 2013 Adafruit Industries. All rights reserved.
Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR
CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include “Adafruit_GFX.h“
#include “glcdfont.c“
#ifdef __AVR__
#include
#elif defined(ESP8266) || defined(ESP32)
#include
#endif
// Many (but maybe not all) non-AVR board installs define macros
// for compatibility with existing PROGMEM-reading AVR code.
// Do our own checks and defines here for good measure...
#ifndef pgm_read_byte
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
#endif
#ifndef pgm_read_word
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
#endif
#ifndef pgm_read_dword
#define pgm_read_dword(addr) (*(const unsigned long *)(addr))
#endif
// Pointers are a peculiar case...typically 16-bit on AVR boards
// 32 bits elsewhere. Try to accommodate both...
#if !defined(__INT_MAX__) || (__INT_MAX__ > 0xFFFF)
#define pgm_read_pointer(addr) ((void *)pgm_read_dword(addr))
#else
#define pgm_read_pointer(addr) ((void *)pgm_read_word(addr))
#endif
#ifndef min
#define min(ab) (((a) < (b)) ? (a) : (b))
#endif
#ifndef _swap_int16_t
#define _swap_int16_t(a b) { int16_t t = a; a = b; b = t; }
#endif
Adafruit_GFX::Adafruit_GFX(int16_t w int16_t h):
WIDTH(w) HEIGHT(h)
{
_width = WIDTH;
_height = HEIGHT;
rotation = 0;
cursor_y = cursor_x = 0;
textsize
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\
目录 0 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\
文件 43408 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Adafruit_GFX.cpp
文件 7554 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Adafruit_GFX.h
目录 0 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\
文件 14395 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMono12pt7b.h
文件 24441 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMono18pt7b.h
文件 40283 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMono24pt7b.h
文件 10592 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMono9pt7b.h
文件 16081 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBold12pt7b.h
文件 28925 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBold18pt7b.h
文件 47327 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBold24pt7b.h
文件 11574 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBold9pt7b.h
文件 17570 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBoldOblique12pt7b.h
文件 31692 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBoldOblique18pt7b.h
文件 52530 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBoldOblique24pt7b.h
文件 12639 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoBoldOblique9pt7b.h
文件 15954 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoOblique12pt7b.h
文件 27096 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoOblique18pt7b.h
文件 45214 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoOblique24pt7b.h
文件 11477 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeMonoOblique9pt7b.h
文件 17535 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSans12pt7b.h
文件 31039 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSans18pt7b.h
文件 51419 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSans24pt7b.h
文件 12478 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSans9pt7b.h
文件 18893 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBold12pt7b.h
文件 33181 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBold18pt7b.h
文件 55627 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBold24pt7b.h
文件 12992 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBold9pt7b.h
文件 21080 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBoldOblique12pt7b.h
文件 37952 2018-01-07 06:34 Temperature-and-Humidity-sensor-DHT11-with-OLED-display-using-arduino-master\Adafruit_GFX_Library\Fonts\FreeSansBoldOblique18pt7b.h
............此处省略56个文件信息
- 上一篇:简易的学生成绩管理系统
- 下一篇:AODV代码详细注释
相关资源
- stm32库函数代码自动生成器V1.2
- STM32 PCB封装库 全系列 全网不好找
- 工程库实现面向对象编程
- 宠物管理系统课程设计(源码+数据库
- IoT-ESP32_DHT11温湿度_2017P40
- VC操作SQLSERVER数据库
- c 操作sqlite数据库.cpp
- C语言标准库函数大全.chm
- 蓝桥杯题库包括vip历届真题
- IEC104开源库
- 简单职工管理系统(控制台源码+txt数
- json-c 一个用于c语言的json解析库很强
- mysql+dev c++实现订单管理系统
- 算法竞赛入门经典 第二版刘汝佳著含
- CTP上期技术平台API及C#封装更新到CT
- MFC对ACCESS数据库的增加、删除、查找
- “背景建模技术”库37种算法
- 串口通信数据库:基于RFID的电子票证
- 可解码所有jpeg格式图片的开源JPEG解码
- Microsoft Visual C++ 20XX运行库合集vc2005
- 计算机二级C语言机考题库
- win 10解决系统缺失vc++库
- FFmpeg x86 x64库
- 线性代数C++模板库 Eigen 3.1.1 的CHM文档
- C语言openssl库SM2-SM3国密常用函数
- Visual C++网络与数据库编程百例源代码
- C语言标准库函数大全
- 飞狐 动态库扩展源代码
- 计算机等级考试题库系统
- c++标准库第二版_高清_230M
评论
共有 条评论