But what happens if the serial port is not connected and the sketch still tries to write to serial port?
For testing purposes i write data to the serial port. But what happens if the serial port is not connected and the sketch still tries to write to serial port?
In my sketch i append data to a string which i write to an SD card. It seems that when the string becomes too large (8000 characters orso) there is just garbage in the file. Can't post it here cos the charater coding is not accepted...This happens faster (i.e. the strings size is smaller (at 4000 characters)) when the baudrate is higher. I assume hereby that when you write a lot to the serial port, it eats more memory thus leaving less room for the datastring to become large.is this true?
Data stains are a pain to get out.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16