Project setup

This commit is contained in:
Zachary Sunforge
2023-06-13 21:09:57 -07:00
parent 8355cc1f24
commit 1446bf6162
19 changed files with 152 additions and 4 deletions

View File

@ -16,6 +16,4 @@ workspace = true
[dependencies.defmt]
workspace = true
[dependencies.uom]
workspace = true
[dependencies.embassy-sync]
workspace = true

View File

@ -1 +1,4 @@
mod cell;
#![feature(async_fn_in_trait)]
pub mod cell;
mod transducer;

View File

@ -0,0 +1,2 @@
pub use physical::transducer::input::*;

View File

@ -0,0 +1,15 @@
mod input;
mod output;
pub use physical::transducer::*;
// ---------------------------------------------------------------------------------------------------------------------
// ----- Publisher ------------------------
// ---------------------------------------------------------------------------------------------------------------------
#[cfg(feature = "embassy-sync")]
pub trait Publisher {
type Value: Copy;
fn subscribe() -> SubT;
}

View File

@ -0,0 +1 @@
pub use physical::transducer::output::*;