Multi Arguments send to Arduino
Opened this issue · 1 comments
mariojfduarte commented
Hi there,
Is there any way of sending, for instance, an int and a string together as an argument to the Arduino function?
braingram commented
Hi!
Strings are handled differently than the other argument types (their length is sent before the string data and are by default limited in length to 16 characters):
https://github.com/braingram/comando/blob/master/libraries/comando/comando.h#L30
I haven't tried to send them along with non-string args but it should work. Let me know if you have any questions, problems or success. I don't have hardware on-hand at the moment to test but might get a chance to write a test.