mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-10-31 22:28:49 +00:00
delete beginner README.md
This commit is contained in:
parent
e2fca6ce0a
commit
c4e3ebdaa7
1 changed files with 0 additions and 103 deletions
|
@ -1,103 +0,0 @@
|
|||
# `beginner`
|
||||
|
||||
> Beginner workshop
|
||||
|
||||
## Hardware
|
||||
|
||||
|
||||
|
||||
## The nRF52840
|
||||
|
||||
|
||||
|
||||
## Parts of an embedded program
|
||||
|
||||
|
||||
|
||||
## Building the program
|
||||
|
||||
|
||||
## Flashing the program
|
||||
|
||||
|
||||
|
||||
## Viewing logs
|
||||
|
||||
|
||||
|
||||
## Running the program from VS code
|
||||
|
||||
|
||||
|
||||
## Panicking
|
||||
|
||||
|
||||
|
||||
## Using a Hardware Abstraction Layer (HAL)
|
||||
|
||||
|
||||
|
||||
## Timers and time
|
||||
|
||||
Next we'll look into the time related APIs exposed by the `dk` HAL.
|
||||
|
||||
Open the `src/bin/blinky.rs` file.
|
||||
|
||||
This program will blink (turn on and off) one of the LEDs on the board. The time interval between each toggle operation is one second. This wait time between consecutive operations is generated by the blocking `timer.wait` operation. This function call will block the program execution for the specified [`Duration`] argument.
|
||||
|
||||
[`Duration`]: https://doc.rust-lang.org/core/time/struct.Duration.html
|
||||
|
||||
The other time related API exposed by the `dk` HAL is the `dk::uptime` function. This function returns the time that has elapsed since the call to the `dk::init` function. This function is used in the program to log the time of each LED toggle operation.
|
||||
|
||||
Next, we'll look into the radio API exposed by the `dk` HAL. But before that we'll need to set up the nRF52840 Dongle.
|
||||
|
||||
## nRF52840 Dongle
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Radio out
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
## Radio in
|
||||
|
||||
|
||||
|
||||
## Radio puzzle
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue