Das Wunder
This commit is contained in:
parent
9414322a19
commit
4d2ea6013c
8 changed files with 360 additions and 348 deletions
|
@ -114,9 +114,12 @@ void rqAdcDacStroke()
|
|||
|
||||
uint16_t val_a = ((ADU*) &adu)->getValue(channel_a);
|
||||
uint16_t val_b = ((ADU*) &adu)->getValue(channel_b);
|
||||
|
||||
usart.initTX();
|
||||
usart.writeInt(val_a);
|
||||
usart.writeInt(val_b);
|
||||
|
||||
usart.flush();
|
||||
|
||||
/*union doubleword
|
||||
{
|
||||
uint16_t word[2];
|
||||
|
@ -138,5 +141,7 @@ void rqAdcDacStroke()
|
|||
} while(ret != USART::MSG_OK);*/
|
||||
}
|
||||
|
||||
usart.initTX();
|
||||
usart.writeByte(USART::MSG_OK);
|
||||
usart.flush();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue