Skip to content

Commit

Permalink
Update intro text
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Lilleengen committed Oct 21, 2021
1 parent 1b9d812 commit cbf06de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/nrf52/microbit/ble-temperature/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ async fn main(spawner: Spawner, p: Peripherals) {
.mount(|device| async move {
let matrix = device.matrix.mount((), spawner);

matrix
.notify(MatrixCommand::ApplyText(
"Hello, Drogue",
AnimationEffect::Slide,
Duration::from_secs(5),
))
.unwrap();

device
.ble_service
.mount(LedConnectionState(matrix), spawner);
Expand Down

0 comments on commit cbf06de

Please sign in to comment.