block senden stabil

This commit is contained in:
Tristan Krause 2019-04-01 08:36:45 +02:00
parent 6dd836c729
commit 8dcd24adbd
7 changed files with 73 additions and 22 deletions

View file

@ -27,6 +27,13 @@ void B15F::init()
std::cout << "OK" << std::endl;
// Temporärer Test
uint8_t block[] = {0, 1, 2, 3};
while(1)
usart.writeBlock(&block[0], 0, sizeof(block));
throw std::runtime_error("SCHLUSS");
std::cout << PRE << "Teste Verbindung... " << std::flush;
uint8_t tries = 3;