I'm trying to see debugging info with nrf51 dongle. As far as I can tell I just need to use:
#define NRF_LOG_MODULE_NAME "APP"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#define ENABLE_DEBUG_LOG_SUPPORT 1
in setup and then the code:
ret_code_t err_code;
err_code = NRF_LOG_INIT(NULL);
APP_ERROR_CHECK(err_code);
NRF_LOG_INFO("\r\nBlinky Start!\r\n");
Would produce Blinky Start! in terminal window. According to config.h the baud rate should be 38400, but I tried different numbers and nothing happened. What am I doing wrong? :(