and you might be able to find a newer version of SoftwareSerial.
Quoteand you might be able to find a newer version of SoftwareSerial.Like the one that ships with 1.0+.
Well, I tried it with arduino 1.0.5. I get this problem. So I could not figure out what is the problem exactly
Quote from: Vincent19 on Nov 02, 2013, 03:00 amWell, I tried it with arduino 1.0.5. I get this problem. So I could not figure out what is the problem exactly Do you have your own version of SoftwareSerial sitting in your hardware directory in the sketchbook? I believe that would preempt the system one.
What do you mean by own version of SoftwareSerial ?Thanks !
Quote from: Vincent19 on Nov 02, 2013, 02:43 pmWhat do you mean by own version of SoftwareSerial ?Thanks !If you load a board support package for a processor, it includes files that override the standard definition for header files. If that board support package was built a few years ago and targeted the older release of the Arduino IDE, it would bring in the standard print header file, and one function (write) changed to have a different calling sequence. So I imagine if you look around for a newer version of the board support package, and replace your version with the newer one, it may work better.Similarly, in your sketchbook directory you can have two directories (libraries and hardware) that are searched before the standard versions.
Are you sure that this version of SoftwareSerial you are using, is from Arduino 1..0.x ?Code: [Select]C::\Program Files(x86)\Arduino\libraries\SoftwareSerial/SoftwareSeial.hTry to replace it and the coresponding .cpp file with the ones that comes with 1.0.x
QuoteC::\Program Files(x86)\Arduino\libraries\SoftwareSerial/SoftwareSeial.hThis looks like a user-downloaded library file, not the core library file. If is IS a user-downloaded library location, delete the SoftwareSerial directory.
But it come along when I download the arduino 1.0.5 file. Why you would say that it is user-downloaded library file ?
QuoteBut it come along when I download the arduino 1.0.5 file. Why you would say that it is user-downloaded library file ?Because the install path for the Arduino IDE and related code usually has the version number in the path. The sketch directory usually does not. Therefore, when I see a path without a version number, I assume that it is a sketch directory, and that is where user-downloaded libraries go. There are good reasons for following conventions.
So what should I do now ? Redownload the IDE ?
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