13#define STORAGENAME "SBB Logger"
14#define MTP_ENABLE_TIMEOUT 3000
20 uint32_t mtp_timer = millis();
33 MTPStorage_SD storage;
#define SAMPLING_TIME
Sampling time of the control loop (us).
Definition config.h:119
#define SD_CONFIG
Configuration type of sd card.
Definition logger.h:15
#define sd
SD fat object (uses sd fat included in SD library).
Definition logger.h:14
#define USB_CONNECTED
Macro for checking the USB connection status-.
Definition config.h:309
bool check_mtp(void)
Check for MTP mode.
Definition sbbmtp.h:19
#define STORAGENAME
MTP storage name.
Definition sbbmtp.h:13
void do_mtp(void)
Run MTP mode.
Definition sbbmtp.h:31
#define MTP_ENABLE_TIMEOUT
Timeout for enabling MTP mode (ms).
Definition sbbmtp.h:14
#define ONOFF_STATE_PIN
Digital in for on/off buttun state (diode between onoff and this).
Definition config.h:103
void do_led()
Management of the status LED.
Definition userfun.h:418
uint32_t sampling_timer
Timer for the main cycle.
Definition objects.h:217
int8_t LEDmode
LED mode variable.
Definition objects.h:220
constexpr int8_t MTPWAIT
MTP wait for USB connected.
Definition objects.h:35
constexpr int8_t MTP
MTP mode.
Definition objects.h:33