附录#include "stm32f10x.h" // Device header#include "Delay.h"//延时#include "OLED.h"//显示屏#include "LED.h"//输出#include "Key.h"//输入#include "Serial.h"//串口#include "ESP8266.h"//WiFi 模块#include "ds18b20.h"//温度传感器#include "AD.h"//模拟输入#include "Timer.h"//定时器short temperature; //温度u8 KeyNum,ChooseFlag,setT=20,setL=60,setY=40,time;//键值 选择 设定值 时间u16 looptimes,AD0,AD1;//循环次数 光照度 浓度extern char USART1_data[20];//串口数据存储数组int main(void){//初始化while(DS18B20_Init...
发表评论取消回复