Update code with for loop
Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
7
DataSources/PSUCommunicator/testSerial/UartLib.hpp
Normal file
7
DataSources/PSUCommunicator/testSerial/UartLib.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
// C library headers
|
||||
// setserial /dev/ttyS0 spd_cust
|
||||
// setserial /dev/ttyS0 divisor 16
|
||||
// stty -F /dev/ttyS0 921600
|
||||
|
||||
int openSerialPort(const char *portname);
|
||||
bool configureSerialPort(int fd, int baudRate);
|
||||
Reference in New Issue
Block a user