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. Apr 4 '15 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) – Chris Stratton Apr 6 '15 at 16:24
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, privacy policy and cookie policy

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