0

as it is in the question, i need to know what is the size of the biggest string that i can send using the serial port to the arduino.
Thank you

2
  • You may check the sources shipped with the Arduino IDE.
    – Thomas S.
    Commented Apr 4, 2015 at 16:35
  • The size of the buffer and the size of the biggest string you can send are not necessarily related (if they are, that's really lazy programming on someone's part) Commented Apr 6, 2015 at 16:24

1 Answer 1

1

That would be 64 bytes, providing the buffer is fully empty. See https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/HardwareSerial.h#L42-L43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.