This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

i have run the experimental ble app blinky from sdkand this run successfully ,is there any tutorial available ??? i can't understand the code how its work ??

can any one of you suggest me some tutorial .then kindly give me link

Parents
  • thanks Kristin. i try but i a can't understand . kindly refer me some other tutorial or blogs.and one more things Kristin i want to print the values at J LINK RTT VIEWER.The value i read from button or write on led. how can i print it on RTT VIEWER .

  • thanks kristen this thread is some how help full but not completely .actually i want to print it on segger terminal the values that i have write on led through nrf connect app .i want to print it on J LINK RTT VIEWER . this is experimental blinky app

    static void led_write_handler(ble_lbs_t * p_lbs, uint8_t led_state)
    {
        if (led_state)
        {
            LEDS_ON(LEDBUTTON_LED_PIN);
            NRF_LOG_INFO("Received LED ON!\r\n");
        }
        else
        {
            LEDS_OFF(LEDBUTTON_LED_PIN);
            NRF_LOG_INFO("Received LED OFF!\r\n");
        }
    					SEGGER_RTT_printf(0, "led wr.\n", led_state);
    
    }
    

    can you help me in this case

Reply
  • thanks kristen this thread is some how help full but not completely .actually i want to print it on segger terminal the values that i have write on led through nrf connect app .i want to print it on J LINK RTT VIEWER . this is experimental blinky app

    static void led_write_handler(ble_lbs_t * p_lbs, uint8_t led_state)
    {
        if (led_state)
        {
            LEDS_ON(LEDBUTTON_LED_PIN);
            NRF_LOG_INFO("Received LED ON!\r\n");
        }
        else
        {
            LEDS_OFF(LEDBUTTON_LED_PIN);
            NRF_LOG_INFO("Received LED OFF!\r\n");
        }
    					SEGGER_RTT_printf(0, "led wr.\n", led_state);
    
    }
    

    can you help me in this case

Children
No Data
Related