-
-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoftwareSerial examples for Arduino M0 will not compile #234
Comments
Hi @control48 , |
I believe the solution has been posted by pharaohamps in https://forum.arduino.cc/index.php?topic=341054.30 169: _transmitPortRegister = portOutputRegister(port); should be corrected to: 169: _transmitPortRegister = (volatile PORT_OUT_Type*)portOutputRegister(port); Now if someone would correct this source and add the correct keywords.txt and library.properties so that the library (under \Arduino\portable\packages\arduino\hardware\samd\1.6.15\libraries\SoftwareSerial\ is the likely place for the install) could be used as other libraries. Thanks to that person. |
I used the following link to download the original files. |
@control48 's changes seem to have worked for me as well. Since this is not a default file, it should be noted that instances of |
Hi to all, Thanks |
Does anyone still have the library, arduino didn't include it when the migrated from arduino-org to arduino |
IDE: 1.8.2
Installation: C:\Program Files (x86)\Arduino\portable\packages\arduino\hardware\samd\1.6.15\libraries\SoftwareSerial\SoftwareSerial.cpp and \SoftwareSerial.h (from github from samd hardware)
Application : SoftwareSerialExample.ino (the original example)
Errors:
What is wrong in the data type/ struc/?? that breaks this function? Attempted to port srv code base to samd base and the broken samd version does not work for serial I/O. Does anyone have a working example or modified .cpp / .h set that works?
The text was updated successfully, but these errors were encountered: