diff --git a/app/main.c b/app/main.c index e0180cd..1c2a5d5 100644 --- a/app/main.c +++ b/app/main.c @@ -107,12 +107,12 @@ int main(void) { }; zble_module_init(&cfg); board_init(); - fatfs_init(); + // fatfs_init(); NRF_SDH_BLE_OBSERVER(m_ble_observer, 3, ble_evt_handler, NULL); - 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)); + // 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)); // pwm_trigger(); // wd_init(); diff --git a/app/src/board.c b/app/src/board.c index a0efeaf..b3df2c7 100644 --- a/app/src/board.c +++ b/app/src/board.c @@ -197,7 +197,7 @@ void pwm_trigger() { .irq_priority = APP_IRQ_PRIORITY_LOWEST, .base_clock = NRF_PWM_CLK_125kHz, .count_mode = NRF_PWM_MODE_UP, - .top_value = 5, + .top_value = 10, .load_mode = NRF_PWM_LOAD_INDIVIDUAL, .step_mode = NRF_PWM_STEP_AUTO, }; @@ -210,7 +210,7 @@ void pwm_trigger() { .end_delay = 0, }; - m_demo1_seq_values.channel_0 = 2; + m_demo1_seq_values.channel_0 = 8; m_demo1_seq_values.channel_1 = 0; m_demo1_seq_values.channel_2 = 0; m_demo1_seq_values.channel_3 = 0;