add EPD test

This commit is contained in:
Shuanglei Tao
2024-12-07 22:45:29 +08:00
parent 17d78460af
commit 4987a4de7f
5 changed files with 245 additions and 4 deletions

7
main.c
View File

@@ -27,6 +27,9 @@
#include "app_error.h"
#include "app_timer.h"
#include "EPD_ble.h"
#ifdef DEBUG
#include "EPD_Test.h"
#endif
#define IS_SRVC_CHANGED_CHARACT_PRESENT 1 /**< Include or not the service_changed characteristic. if not enabled, the server's database cannot be changed for the lifetime of the device*/
@@ -386,6 +389,10 @@ int main(void)
NRF_LOG_PRINTF("done.\n");
#ifdef DEBUG
EPD_4in2_test();
#endif
for (;;)
{
power_manage();