adds command wrapper
This commit is contained in:
parent
cb95755998
commit
46ff7c865e
2 changed files with 58 additions and 18 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue