ESP32-PaxCounter/include/sdcard.h
2020-02-03 15:22:33 +01:00

17 lines
296 B
C

#ifndef _SDCARD_H
#define _SDCARD_H
#include <globals.h>
#include <stdio.h>
#include <SPI.h>
#include <mySD.h>
#define SDCARD_FILE_NAME "paxcount.%02d"
#define SDCARD_FILE_HEADER "date, time, wifi, bluet"
bool sdcard_init( void );
void sdcardWriteData( uint16_t, uint16_t);
#endif