Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read raw data with soil_read_loop sample? #170

Open
vaidastal opened this issue Dec 6, 2023 · 2 comments
Open

How to read raw data with soil_read_loop sample? #170

vaidastal opened this issue Dec 6, 2023 · 2 comments

Comments

@vaidastal
Copy link

Hey, sorry for this kind of question, but I was wondering, how to output raw data from soil_read_loop sample? I see log component there, but I am not really sure, how to view that value after flashing it to the sensor? I assume it is not BLE...

Sorry, I am new to these chips. I would like to recalibrate them after coating and that would help me.

Thanks.

@rbaron
Copy link
Owner

rbaron commented Dec 7, 2023

Hey @vaidastal,

Our samples (including the soil_read_loop) are configured to use the RTT (Segger's Real Time Transfer) logging protocol.

Depending on your setup, you can either use openocd or J-Links command line tools to get the logs in real time. The simplest option for me is using Nordic's official VSCode extension, and just tap the "RTT" button in the "Connected Devices" panel:

Image from Nordic's docs

The "How to connect using RTT docs" for the extension helped me in the beginning.

@vaidastal
Copy link
Author

Hey, @rbaron

Thanks for such a quick response. I will give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants