2022-06-30 11:16:29 -07:00
|
|
|
/* This software is licensed under the MIT License: https://github.com/spacehuhntech/usbnova */
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-06-27 07:37:04 -07:00
|
|
|
#define VERSION "1.1.3"
|
2022-06-30 11:16:29 -07:00
|
|
|
|
|
|
|
// ===== DEBUG Settings ===== //
|
2023-06-27 07:37:04 -07:00
|
|
|
// #define ENABLE_DEBUG
|
2022-06-30 11:16:29 -07:00
|
|
|
#define DEBUG_PORT Serial
|
|
|
|
#define DEBUG_BAUD 115200
|
|
|
|
|
|
|
|
// ===== Storage Settings ===== //
|
|
|
|
#define READ_BUFFER 2048
|
|
|
|
|
|
|
|
// ===== LED Settings ===== //
|
2023-06-27 07:37:04 -07:00
|
|
|
|
|
|
|
#if defined(ARDUINO_ARCH_RP2040)
|
|
|
|
#define LED_PIN 12
|
|
|
|
#else // if defined(ARDUINO_ARCH_RP2040)
|
2022-06-30 12:19:02 -07:00
|
|
|
#define LED_PIN 11
|
2023-06-27 07:37:04 -07:00
|
|
|
#endif // if defined(ARDUINO_ARCH_RP2040)
|
2022-06-30 11:16:29 -07:00
|
|
|
|
|
|
|
// ===== SELECTOR SWITCH ===== //
|
2023-06-27 07:37:04 -07:00
|
|
|
|
|
|
|
#if defined(ARDUINO_ARCH_RP2040)
|
|
|
|
#define SELECTOR 13
|
|
|
|
#else // if defined(ARDUINO_ARCH_RP2040)
|
2022-06-30 12:19:02 -07:00
|
|
|
#define SELECTOR A0
|
2023-06-27 07:37:04 -07:00
|
|
|
#endif // if defined(ARDUINO_ARCH_RP2040)
|
2022-06-30 11:16:29 -07:00
|
|
|
|
|
|
|
// ===== Parser Settings ===== //
|
|
|
|
#define CASE_SENSETIVE false
|
2022-07-13 15:17:22 -07:00
|
|
|
#define DEFAULT_SLEEP 5
|
|
|
|
|
|
|
|
// ===== Other Stuff ====== //
|
|
|
|
#define PREFERENCES_PATH "preferences.json"
|