mirror of https://github.com/sqfmi/Watchy.git
34 lines
818 B
C++
34 lines
818 B
C++
#pragma once
|
|
|
|
//display
|
|
#define DISPLAY_WIDTH 200
|
|
#define DISPLAY_HEIGHT 200
|
|
#define BTN_PIN_MASK MENU_BTN_MASK|BACK_BTN_MASK|UP_BTN_MASK|DOWN_BTN_MASK
|
|
//wifi
|
|
#define WIFI_AP_TIMEOUT 60
|
|
#define WIFI_AP_SSID "Watchy AP"
|
|
//menu
|
|
constexpr std::int8_t kWatchFace_State{-1}
|
|
#define MAIN_MENU_STATE 0
|
|
#define APP_STATE 1
|
|
#define FW_UPDATE_STATE 2
|
|
#define MENU_HEIGHT 25
|
|
#define MENU_LENGTH 7
|
|
//set time
|
|
#define SET_HOUR 0
|
|
#define SET_MINUTE 1
|
|
#define SET_YEAR 2
|
|
#define SET_MONTH 3
|
|
#define SET_DAY 4
|
|
#define HOUR_12_24 24
|
|
//BLE OTA
|
|
#define BLE_DEVICE_NAME "Watchy BLE OTA"
|
|
#define WATCHFACE_NAME "Watchy 7 Segment"
|
|
#define SOFTWARE_VERSION_MAJOR 1
|
|
#define SOFTWARE_VERSION_MINOR 0
|
|
#define SOFTWARE_VERSION_PATCH 0
|
|
#define HARDWARE_VERSION_MAJOR 1
|
|
#define HARDWARE_VERSION_MINOR 0
|
|
//Versioning
|
|
#define WATCHY_LIB_VER "1.4.0"
|