I try to print in RTT but i have this warning: expression has no effect.

I use nRF51 dk with SDK_12.0 and soft device S130.

Here i put my screenshot:

image description

Parents
  • If you want to use logging over RTT, you can use the SDK logging functionality directly. Open the sdk_config.h file that comes with the project, and open the configuration wizard tab at the bottom of the file. Enable logging over RTT by checking the RTT box. When logging over RTT is enabled, the log functions can be used normally, like NRF_LOG_INFO("Heart Rate Sensor Start!\r\n") for instance.

    image description

Reply Children
No Data
Related