according the the reference available on the website, it says write() will return the number of bytes written, though reading that number is optional .My problem is, how do i get the number of bytes written because my next application entirely depends on this number.
int totalBytes = 0; // Start with ziptotalBytes += Serial.write(someStuff); // Add the number written this time.
thanks a lot i have tried that and it works for stings and integers (below 255) but it does not work for a scv file stored on an sd card.
Thats the function i am looking for, if you know you can tell me.
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