180초인가 지나면 잠이 든다.
이걸 막는다 ㅋㅋㅋ
위치는 main.c
static void sleep_mode_enter(void)
{
/*dschae, make do not sleep!! uint32_t err_code = bsp_indication_set(BSP_INDICATE_IDLE);
APP_ERROR_CHECK(err_code);
// Prepare wakeup buttons.
err_code = bsp_btn_ble_sleep_mode_prepare();
APP_ERROR_CHECK(err_code);
// Go to system-off mode (this function will not return; wakeup will cause a reset).
err_code = sd_power_system_off();
APP_ERROR_CHECK(err_code);
*/
}
이렇게 하면 파워 오프를 하지 않을 뿐이다. 역시나 잠이 든다.
따라서...
어떻게 했는지 기억이 안 나요 크흑!!
'실전 임베디드' 카테고리의 다른 글
| nRF51822 softdevice IROM1 실전 임베디드 2017. 3. 29. 13:44 (0) | 2019.09.24 |
|---|---|
| NORDIC NRF51, BLE 키보드 전송 예제 2017. 3. 25. 0: (0) | 2019.09.24 |
| nRF51822 WaveShare 빌드. 실전 임베디드 2017. 3. 24. 15:20 (0) | 2019.09.24 |
| Raspberry PI BLE(Bluetooth Low Energy) 설정. 3. 24. 10:24 (0) | 2019.09.24 |
| nRF51822, Keil uVision 5 MDK 환경설정 실전 임베디드 2017. 3. 15. 15:1 (0) | 2019.09.24 |