Version 0.2

This commit is contained in:
Tristan Krause 2019-04-03 11:59:15 +02:00
parent fd2cb56ef3
commit 490da9d724
6 changed files with 21 additions and 2 deletions

View file

@ -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();