Closed g-vidal closed 6 years ago
Hi,
You should implement this functionality similar to the way zfm20 does it. Rather than add a new argument to the constructor, just create a new constructor that accepts a std::string. That way you don't need this "99" stuff for the integer version of the constructor, it can be left just as it is.
OK I'll check zfm20 and make the changes
with mraa_uart_init() function this proposal enables to use also mraa_uart_init_raw() function to choose another path for UART
Signed-off-by: g-vidal gerard.vidal@ens-lyon.fr