#include <string.h>
#include <stdint.h>
+#define OSWALD_VERSION "v0.3"
+
//#define DEBUG 1
#ifdef DEBUG
#define dbg_out( args... ) fprintf(stderr, args)
STOP_WATCH_SCREEN,
BLUETOOTH_SCREEN,
ACCEL_DISPLAY_SCREEN,
- MENU_TEST_SCREEN,
-// APPLICATION_SCREEN,
+ INFO_SCREEN,
LAST_SCREEN, // a marker for the last (not valid) screen)
+ MENU_TEST_SCREEN,
+ APPLICATION_SCREEN,
DATETIME_SETTING_SCREEN,
ALARM_SCREEN,
SCREENS_END,
} watch_state;
typedef struct {
- uint8_t x;
- uint8_t y;
- uint8_t z;
+ int8_t x;
+ int8_t y;
+ int8_t z;
} accel_data_t;
#define POWER_SOURCE_BATTERY 0