adds command wrapper

This commit is contained in:
Robert Schauklies 2026-01-10 20:18:57 +01:00
parent cb95755998
commit 46ff7c865e
2 changed files with 58 additions and 18 deletions

View file

@ -1 +1,14 @@
pub mod nextion;
pub mod nextion;
#[derive(Debug)]
pub enum Command{
SetRpm(u32),
SetTimer(u32),
Start,
Stop,
SendConfig,
}
#[derive(Debug)]
pub enum ErrCommand{
NoValidCmd,
READ_ERROR
}