You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
374 B
C
16 lines
374 B
C
#ifndef UserTypes_h
|
|
#define UserTypes_h
|
|
#include "Arduino.h"
|
|
// User data types. Modify for your data items.
|
|
#define FILE_BASE_NAME "adc4pin"
|
|
const uint8_t ADC_DIM = 4;
|
|
struct data_t {
|
|
uint32_t time;
|
|
uint16_t adc[ADC_DIM];
|
|
};
|
|
void acquireData(data_t* data);
|
|
void printData(Print* pr, data_t* data);
|
|
void printHeader(Print* pr);
|
|
void userSetup();
|
|
#endif // UserTypes_h
|