Add button tests

This is implemented by connecting the DTR pin of the serial device to the BTN_UP pin of the watch.

Also, make it possible to flash different applications with the Makefile.

Resolves #4
This commit is contained in:
2020-06-11 16:39:51 +00:00
parent cdf0f4ffc9
commit 573504547c
9 changed files with 260 additions and 65 deletions

View File

@@ -54,9 +54,9 @@ public:
static ButtonManager *m_instance;
enum Button {
UP = 0,
DOWN = 0,
MID,
DOWN,
UP,
Count
};