Watchy/src/config.h

35 lines
802 B
C
Raw Normal View History

2021-12-30 23:16:03 -05:00
#ifndef CONFIG_H
#define CONFIG_H
2022-04-28 21:17:00 -04:00
// display
#define DISPLAY_WIDTH 200
2021-12-30 23:16:03 -05:00
#define DISPLAY_HEIGHT 200
2022-04-28 21:17:00 -04:00
// wifi
2021-12-30 23:16:03 -05:00
#define WIFI_AP_TIMEOUT 60
2022-04-28 21:17:00 -04:00
#define WIFI_AP_SSID "Watchy AP"
// menu
2021-12-30 23:16:03 -05:00
#define WATCHFACE_STATE -1
#define MAIN_MENU_STATE 0
2022-04-28 21:17:00 -04:00
#define APP_STATE 1
2021-12-30 23:16:03 -05:00
#define FW_UPDATE_STATE 2
2022-04-28 21:17:00 -04:00
#define MENU_HEIGHT 25
#define MENU_LENGTH 7
// set time
#define SET_HOUR 0
2021-12-30 23:16:03 -05:00
#define SET_MINUTE 1
2022-04-28 21:17:00 -04:00
#define SET_YEAR 2
#define SET_MONTH 3
#define SET_DAY 4
2021-12-30 23:16:03 -05:00
#define HOUR_12_24 24
2022-04-28 21:17:00 -04:00
// BLE OTA
#define BLE_DEVICE_NAME "Watchy BLE OTA"
#define WATCHFACE_NAME "Watchy 7 Segment"
2021-12-30 23:16:03 -05:00
#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
2022-04-28 21:17:00 -04:00
// Versioning
2022-01-19 21:39:43 -05:00
#define WATCHY_LIB_VER "1.4.0"
#endif