embassy-embedded-time 0.1.1

Implementation of embedded-time Clocks using embassy-time
Documentation
# embassy-embedded-time

[![Continuous Integration](https://github.com/SimonIT/embassy-embedded-time/actions/workflows/ci.yml/badge.svg)](https://github.com/SimonIT/embassy-embedded-time/actions/workflows/ci.yml)
[![Crates.io](https://img.shields.io/crates/v/embassy-embedded-time)](https://crates.io/crates/embassy-embedded-time)
[![docs.rs](https://docs.rs/embassy-embedded-time/badge.svg)](https://docs.rs/embassy-embedded-time)

Provides an
[`embedded-time::Clock`](https://docs.rs/embedded-time/latest/embedded_time/clock/trait.Clock.html)
using [`embassy_time`] so that `embedded-time` can easily be used with [embassy](https://embassy.dev/).

### Usage

It's extremely straight-forward to start using a clock:

```rust
use embassy_embedded_time::EmbassyClock;
use embedded_time::Clock;

fn main() {
    let clock = EmbassyClock::default();

    let now = clock.try_now().unwrap();
    println!("Current time: {:?}", now);
}
```