Use embassy/defmt-timestamp-uptime in all examples.
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
#![no_main]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
|
||||
#[path = "../example_common.rs"]
|
||||
mod example_common;
|
||||
use defmt::*;
|
||||
use embassy::executor::Spawner;
|
||||
use embassy::time::{Duration, Timer};
|
||||
@ -13,6 +11,9 @@ use embassy_nrf::pwm::{
|
||||
};
|
||||
use embassy_nrf::Peripherals;
|
||||
|
||||
use defmt_rtt as _; // global logger
|
||||
use panic_probe as _;
|
||||
|
||||
// WS2812B LED light demonstration. Drives just one light.
|
||||
// The following reference on WS2812B may be of use:
|
||||
// https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf.
|
||||
|
Reference in New Issue
Block a user