ESP32-PaxCounter/include/sdcard.h

18 lines
320 B
C
Raw Normal View History

2019-12-25 23:07:34 +01:00
#ifndef _SDCARD_H
#define _SDCARD_H
#include <globals.h>
#include <stdio.h>
#include <SPI.h>
#include <mySD.h>
2020-03-29 18:08:52 +02:00
#include "sds011read.h"
2019-12-25 23:07:34 +01:00
#define SDCARD_FILE_NAME "paxcount.%02d"
#define SDCARD_FILE_HEADER "date, time, wifi, bluet"
2020-02-03 15:22:33 +01:00
bool sdcard_init( void );
2019-12-25 23:07:34 +01:00
void sdcardWriteData( uint16_t, uint16_t);
2020-02-03 15:22:33 +01:00
#endif