没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include<math.h>
const float voltagePower=5;
//const float Rs=10;//采样电阻为10千欧
const int B=3590;
const double T1=273.15+25.0;//常温
const double R1=10.0;//常温对应的阻值,注意单位是千欧
#define OLED_RESET 4
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);
static const unsigned char PROGMEM str1[] =
{
0x00,0x00,0x00,0x00,0x00,0x10,0x1B,0xE8,0x09,0x18,0x01,0xF0,0x21,0x70,0x01,0x80,
0x00,0x08,0x1B,0xFC,0x12,0xA8,0x12,0xA8,0x22,0xCC,0x2F,0x30,0x00,0x00,0x00,0x00
};/*"温",0*/
static const unsigned char PROGMEM str2[] ={
0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x70,0x0F,0xC0,0x0B,0x20,0x09,0xD0,0x0F,0x40,
0x09,0x80,0x08,0xE0,0x11,0x40,0x11,0x40,0x20,0xC0,0x41,0x30,0x0E,0x1E,0x00,0x00
};
/*"度",1*/
static const unsigned char PROGMEM str3[] =
{
0x00,0x00,0x00,0x00,0x08,0x40,0x08,0x40,0x08,0xA0,0x09,0x10,0x3D,0x08,0x0A,0xC7,
0x1C,0x10,0x2C,0x10,0x49,0x50,0x09,0x20,0x08,0x20,0x17,0xFC,0x00,0x00,0x00,0x00
};/*"检",0*/
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include<math.h>
const float voltagePower=5;
//const float Rs=10;//采样电阻为10千欧
const int B=3590;
const double T1=273.15+25.0;//常温
const double R1=10.0;//常温对应的阻值,注意单位是千欧
#define OLED_RESET 4
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);
static const unsigned char PROGMEM str1[] =
{
0x00,0x00,0x00,0x00,0x00,0x10,0x1B,0xE8,0x09,0x18,0x01,0xF0,0x21,0x70,0x01,0x80,
0x00,0x08,0x1B,0xFC,0x12,0xA8,0x12,0xA8,0x22,0xCC,0x2F,0x30,0x00,0x00,0x00,0x00
};/*"温",0*/
static const unsigned char PROGMEM str2[] ={
0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x70,0x0F,0xC0,0x0B,0x20,0x09,0xD0,0x0F,0x40,
0x09,0x80,0x08,0xE0,0x11,0x40,0x11,0x40,0x20,0xC0,0x41,0x30,0x0E,0x1E,0x00,0x00
};
/*"度",1*/
static const unsigned char PROGMEM str3[] =
{
0x00,0x00,0x00,0x00,0x08,0x40,0x08,0x40,0x08,0xA0,0x09,0x10,0x3D,0x08,0x0A,0xC7,
0x1C,0x10,0x2C,0x10,0x49,0x50,0x09,0x20,0x08,0x20,0x17,0xFC,0x00,0x00,0x00,0x00
};/*"检",0*/
资源评论
江离、
- 粉丝: 28
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功