Create buttons module

Temporarily just logging button presses, as alarms module doesn't yet
exist.
This commit is contained in:
2023-05-16 21:11:41 +01:00
parent 82334be492
commit c82af79d52
6 changed files with 128 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES console_wrapper display settings sound time wifi
REQUIRES buttons console_wrapper display settings sound time wifi
)

View File

@@ -3,6 +3,7 @@
* Copyright (c) Camden Dixie O'Brien
*/
#include "buttons.h"
#include "console.h"
#include "display.h"
#include "settings.h"
@@ -18,4 +19,5 @@ void app_main(void)
wifi_init();
time_manager_init();
sound_init();
buttons_init();
}