미세먼지 측정기(sds011) 2
#include #include "U8glib.h" #include //for nano sda scl a4 a5 String pm10, pm10_chr ; String pm25, pm25_chr; /* 1 EXCELLENT 2 GOOD 3 ACCEPTABLE 4 MODERATE 5 HEAVY 6 SEVERE 7 HAZARDOUS */ #define EXCELLENT "Excellent" #define GOOD "GOOD" #define ACCEPTABLE "Acceptable" #define MODERATE "Moderate" #define HEAVY "Heavy" #define SEVERE "Severe" #define HAZARDOUS "Hazardous" void aqi() { if (pm10.to..