Printk() is not working in VSCODE it doesnt print anything. i use all latest nrf versions.

I am working on nRF5340 DK Here Blinky sample program in running successfully LED is blinking. while running HELLO WORLD sample program its shows no error but its not connecting to mobile and not printing anything . And i need a clear view of VSCODE will print a value or not???

Parents
  • Hi,


    while running HELLO WORLD sample program its shows no error but its not connecting to mobile and not printing anything

    The Hello World sample is not a Bluetooth sample. So there will not be anything connecting to or printing over Bluetooth. It only prints to the connected COM-port that is connected to the computer via USB. 


    And i need a clear view of VSCODE will print a value or not???

    There should not be a need to have VS Code open and running unless you are debugging or using the terminal in VS Code. 

    Regards,
    Jonathan

Reply
  • Hi,


    while running HELLO WORLD sample program its shows no error but its not connecting to mobile and not printing anything

    The Hello World sample is not a Bluetooth sample. So there will not be anything connecting to or printing over Bluetooth. It only prints to the connected COM-port that is connected to the computer via USB. 


    And i need a clear view of VSCODE will print a value or not???

    There should not be a need to have VS Code open and running unless you are debugging or using the terminal in VS Code. 

    Regards,
    Jonathan

Children
Related