You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
520 B

#include "board.h"
#include "project_cfg.h"
#include "sys.h"
#include "version.h"
#include "zble_service.h"
zble_service_cfg_t cfg = {.deviceName = "iflytop"};
int main(void) {
zsys_init();
debug_light_init(DEBUG_LIGHT_IO_INDEX); //
NRF_LOG_INFO("compile time :%s", __TIME__);
NRF_LOG_INFO("Version :%d", VERSION);
NRF_LOG_INFO("Manufacturer :%s", MANUFACTURER_NAME);
uint8_t io_index[] = {11, 12, 24};
zbsp_gpio_state_monitor(1000, (uint8_t*)io_index, ZARRAY_SIZE(io_index));
zsys_loop();
}