Open racarla96 opened 4 months ago
The library seems to work to communicate with the example program with the stable v1 api, but it does not allow any further action to be executed, it seems to get stuck in the call: -> proto.run_rx([](void p, void b, int s)->int { return Serial.readBytes((uint8_t *)b, s); }); And I don't know how to continue to debug the problem.
@racarla96 Did you set timeout for Serial object to zero / or small value.
By default Serial
has too big timeouts (maybe infinite one)
I am trying to see how the library works and I am trying to see what happens onReceive by trying to see the output through another serial port (arduino Due), this would be the code. Is there something I'm doing wrong or don't know? Thank you