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
635 B
22 lines
635 B
#include "basic/zble_module.h"
|
|
#include "basic/zdatachannel_service.h"
|
|
#include "znordic.h"
|
|
//
|
|
#include "three_lead\three_lead_board.h"
|
|
|
|
static void test_tx_timer_cb(void* p_context) {
|
|
ZLOGI("test_tx_timer_cb");
|
|
ThreeLeadECG_sdcard_mount();
|
|
}
|
|
|
|
extern uint32_t g_nrf_log_tx_pin;
|
|
APP_TIMER_DEF(m_test_tx_timer);
|
|
|
|
void main() {
|
|
g_nrf_log_tx_pin = 2;
|
|
znordic_init();
|
|
NRF_LOG_INFO("compile time :%s %d", __TIME__, APP_TIMER_TICKS(100));
|
|
ZERROR_CHECK(app_timer_create(&m_test_tx_timer, APP_TIMER_MODE_REPEATED, test_tx_timer_cb));
|
|
ZERROR_CHECK(app_timer_start(m_test_tx_timer, APP_TIMER_TICKS(100), NULL));
|
|
znordic_loop();
|
|
}
|