Version 0.2
This commit is contained in:
parent
fd2cb56ef3
commit
490da9d724
6 changed files with 21 additions and 2 deletions
|
@ -152,6 +152,15 @@ std::vector<std::string> B15F::getBoardInfo(void)
|
|||
return info;
|
||||
}
|
||||
|
||||
bool B15F::activateSelfTestMode()
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
usart.writeByte(RQ_ST);
|
||||
|
||||
uint8_t aw = usart.readByte();
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
bool B15F::digitalWrite0(uint8_t port)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue