Merge pull request #535 from AugustQu/patch-8

initial
This commit is contained in:
Verkehrsrot 2020-01-22 19:11:58 +01:00 committed by GitHub
commit 19f00bf09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
include/sds011read.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef _SDS011READ_H
#define _SDS011READ_H
#include <SDS011.h>
// used pins on the ESP-side:
#define ESP_PIN_TX 19 // connect to RX on the SDS011
#define ESP_PIN_RX 23 // connect to TX on the SDS011
#define SDCARD_FILE_HEADER_SDS011 ", PM10,PM25"
bool sds011_init();
void sds011_loop();
#endif // _SDS011READ_H