Update code with for loop

Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
2025-12-09 11:16:30 +00:00
parent cba72011a8
commit a1ddaf871d
2 changed files with 94 additions and 0 deletions

View 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);