First time here? Check out the Tour!
I'm using an "app_timer" in repeated mode with 10Hz frequency.
#define M_10HZ_TIMER_VALUE APP_TIMER_TICKS(100) /* 10Hz = 100ms */ APP_TIMER_DEF(m_10Hz_timer_id); app_timer_create(&m_10Hz_timer_id, APP_TIMER_MODE_REPEATED, m_10Hz_timer_handler); app_timer_start(m_10Hz_timer_id ...
I want to write pstorage functions in app_timer event handler. The reason is that, I want to poll certain events using the app_timer. This things I cannot do in main thread since it has some blocking codes that cannot be ... (more)