Checking the API documentation
We'll be using the dk
Board Support Package. It's good to have its API documentation handy. You can generate the documentation for that crate from the command line:
✅ Run the following command from within the nrf52-code/boards/dk
folder. It will open the generated documentation in your default web browser.
cargo doc --open
NOTE: If you are using Safari and the documentation is hard to read due to missing CSS, try opening it in a different browser.