define more commands & refactor
This commit is contained in:
@@ -5,10 +5,7 @@ use arduino_hal::port::mode::{Input, Output};
|
||||
use arduino_hal::usart::{Usart, UsartOps};
|
||||
use arduino_hal::prelude::*;
|
||||
|
||||
use heapless::{String, Vec};
|
||||
|
||||
// mod simple_vector;
|
||||
// pub use simple_vector::SimpleVec;
|
||||
use heapless::Vec;
|
||||
|
||||
|
||||
pub struct Webee<USART: UsartOps<Atmega, RX, TX>, RX, TX>
|
||||
@@ -41,6 +38,7 @@ impl SendCmd where {
|
||||
SendCmd::Baudrate => "Baudrate",
|
||||
SendCmd::TransmitPower => "Transmit Power",
|
||||
SendCmd::MAC => "MAC",
|
||||
SendCmd::ZigbeeNetworkKey => "Zigbee Network Key",
|
||||
_ => "not_implemented"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user