mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
Updated cargo toml section links.
This commit is contained in:
parent
dc6639fa4d
commit
4811c14cc8
@ -1,6 +1,6 @@
|
|||||||
= Starting a new project
|
= Starting a new project
|
||||||
|
|
||||||
Once you’ve successfully xref:getting_started.adoc[run some example projects], the next step is to make a standalone Embassy project.
|
Once you’ve successfully xref:#_getting_started[run some example projects], the next step is to make a standalone Embassy project.
|
||||||
|
|
||||||
== Tools for generating Embassy projects
|
== Tools for generating Embassy projects
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ The following examples shows different ways to use the on-board LED on a Raspber
|
|||||||
|
|
||||||
Using mutual exclusion is the simplest way to share a peripheral.
|
Using mutual exclusion is the simplest way to share a peripheral.
|
||||||
|
|
||||||
TIP: Dependencies needed to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here].
|
TIP: Dependencies needed to run this example link:#_the_cargo_toml[can be found here].
|
||||||
[,rust]
|
[,rust]
|
||||||
----
|
----
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
@ -78,7 +78,7 @@ To indicate that the pin will be set to an Output. The `AnyPin` could have been
|
|||||||
|
|
||||||
A channel is another way to ensure exclusive access to a resource. Using a channel is great in the cases where the access can happen at a later point in time, allowing you to enqueue operations and do other things.
|
A channel is another way to ensure exclusive access to a resource. Using a channel is great in the cases where the access can happen at a later point in time, allowing you to enqueue operations and do other things.
|
||||||
|
|
||||||
TIP: Dependencies needed to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here].
|
TIP: Dependencies needed to run this example link:#_the_cargo_toml[can be found here].
|
||||||
[,rust]
|
[,rust]
|
||||||
----
|
----
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
|
@ -16,7 +16,7 @@ The `embassy::time::Timer` type provides two timing methods.
|
|||||||
|
|
||||||
An example of a delay is provided as follows:
|
An example of a delay is provided as follows:
|
||||||
|
|
||||||
TIP: Dependencies needed to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here].
|
TIP: Dependencies needed to run this example link:#_the_cargo_toml[can be found here].
|
||||||
[,rust]
|
[,rust]
|
||||||
----
|
----
|
||||||
use embassy::executor::{task, Executor};
|
use embassy::executor::{task, Executor};
|
||||||
@ -41,7 +41,7 @@ that expect a generic delay implementation to be provided.
|
|||||||
|
|
||||||
An example of how this can be used:
|
An example of how this can be used:
|
||||||
|
|
||||||
TIP: Dependencies needed to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here].
|
TIP: Dependencies needed to run this example link:#_the_cargo_toml[can be found here].
|
||||||
[,rust]
|
[,rust]
|
||||||
----
|
----
|
||||||
use embassy::executor::{task, Executor};
|
use embassy::executor::{task, Executor};
|
||||||
|
Loading…
Reference in New Issue
Block a user