Hello,
Please tell me, How to call Time() in milliseconds in Nordic nrf51822 ??
Hello,
Please tell me, How to call Time() in milliseconds in Nordic nrf51822 ??
I am using the nrf_log group in the project if that is what you meant. Check the image below if that is of any help.
If you are using the log module you can print integer numbers in a similar way to the printf function, so you could do something like this:
NRF_LOG_INFO("Time in milliseconds: %i", (int)my_timer_get_ms()
);
Hi! Sorry for replying to you late but I am unable to verify the results of the code in the logger or probably I'm not observing the results in the right place. Could you help me out since I'm new to this module.
Hi
Are you running the J-Link RTT Viewer software on your PC?
Then you should see all the output from the devkit, as long as the code is running and the kit is connected to the PC over USB.
Best regards
Torbjørn
Hi
I tried your solution but I'm unable to get past the following screen whose screenshot is attached along with this. Thank you