You can not 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
374B

  1. #ifndef UserTypes_h
  2. #define UserTypes_h
  3. #include "Arduino.h"
  4. // User data types. Modify for your data items.
  5. #define FILE_BASE_NAME "adc4pin"
  6. const uint8_t ADC_DIM = 4;
  7. struct data_t {
  8. uint32_t time;
  9. uint16_t adc[ADC_DIM];
  10. };
  11. void acquireData(data_t* data);
  12. void printData(Print* pr, data_t* data);
  13. void printHeader(Print* pr);
  14. void userSetup();
  15. #endif // UserTypes_h