I know I am late to the party but I have only recently discovered the very useful methods
such as
Serial1.addMemoryForRead(s1RxBuffer, sizeof(s1RxBuffer));
Serial1.addMemoryForWrite(s1TxBuffer, sizeof(s1TxBuffer));
which work nicely for me.
But when I try this
Serial.addMemoryForWrite(s1TxBuffer, sizeof(sTxBuffer));
I get the this
error: 'class usb_serial_class' has no member named 'addMemoryForWrite'
So Serial does not have methods such as 'addMemoryForWrite'.
Why is this?
Is there no need to adjust the receive and transmit buffer sizes for Serial?
Why?
Peter.
such as
Serial1.addMemoryForRead(s1RxBuffer, sizeof(s1RxBuffer));
Serial1.addMemoryForWrite(s1TxBuffer, sizeof(s1TxBuffer));
which work nicely for me.
But when I try this
Serial.addMemoryForWrite(s1TxBuffer, sizeof(sTxBuffer));
I get the this
error: 'class usb_serial_class' has no member named 'addMemoryForWrite'
So Serial does not have methods such as 'addMemoryForWrite'.
Why is this?
Is there no need to adjust the receive and transmit buffer sizes for Serial?
Why?
Peter.