|
Digole Display Driver
Display driver for Digole Serial OLED/LCD displays
|
Functions | |
| int | serial_open (char *comport, int highspeed) |
| serial port open | |
| void | serial_close (int sfd) |
| serial port close | |
| void serial_close | ( | int | sfd | ) |
serial port close
Close the serial port file descriptor and restore terminal and HW com port to their original settings.
| sfd | serial file descriptor returned from serial_open |
| int serial_open | ( | char * | comport, |
| int | highspeed | ||
| ) |
serial port open
Open the serial port device file (e.g. /dev/ttyUSB0) for read/write at default 9600bps operational mode of Digole displays. Set terminal characteristics for binary data and no HW flow control. Save the current tty and HW com port attributes to be restored at shutdown via serial_close
| comport | string value for the device file (e.g. "/dev/ttyUSB0") |
| highspeed | when non-zero, the UART is opened at 115200baud |
1.7.6.1