Closed Mohamad777 closed 6 years ago
Hi @Mohamad777, what board are you running this on? I can merge #587 from @pylbert which adds several improvements to this library and there shouldn't be an issue adding the extra string based constructor to initialize raw devices directly.
I get the following error when I use upm::ZFM20 fp(0); in running time (C++):
I've found that it may be because of the code bellow from mraa library (It means I get the error message "uart: device path undefined" in syslog:
In mraa library I can solve the problem by using mraa_uart_init_raw("/dev/ttyXXX"). But here I don't have access to modify the code, and ZFM20 just gets int argument.
Would yo please help me solve this problem?
Is it possible to change the source code of the library to solve this problem?
Thanks in advance.