adds initial motor bravo implementation
This commit is contained in:
1 parent
47b1323af1
commit
d9728b8680
25 files changed
+1081
-123
No files matched your search
@@ -5,6 +5,7 @@ use std::fmt::Debug;
|
||||
pub mod set_pin;
|
||||
pub mod set_rcs;
|
||||
pub mod valid_priority_command;
|
||||
pub mod set_pwm;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct CommandHeader<'a> {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
use crate::command::Command;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct SetPwm {
|
||||
pub duty_cycle: u8
|
||||
}
|
||||
|
||||
impl Command for SetPwm {}
|
||||
Reference in new issue
Block a user