mraa
0.6.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
|
This file defines the UART interface for libmraa
Public Member Functions | |
Uart (int uart) | |
~Uart () | |
std::string | getDevicePath () |
|
inline |
Uart Constructor, takes a pin number which will map directly to the linux uart number, this 'enables' the uart, nothing more
uart | the index of the uart set to use |
|
inline |
Get string with tty device path within Linux For example. Could point to "/dev/ttyS0"