-
Notifications
You must be signed in to change notification settings - Fork 28
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
compatibility for arduino ide 1.6.3 #28
Comments
Hi Clamari, I don't have mega2560 on hand now. Here is my modification: |
it works!!! thank you very much, i'm testing some examples and all is working normally. I will notify you if I find any problem. Could you tell us what was the code problem? |
In IDE 1.6.3, the UARTx's ISR will call Serialx's handler method (e.g. Serial1._tx_udr_empty_irq()) and this handler method will use tx/rx buffers (and the head/tail indexes) inside the Serialx object. (the tx/rx buffers (and the head/tail indexes) were declared globally in IDE 1.0.6) |
root cause: #28 (comment) Modify code to use pointers to Serial objects to solve this issue.
I know that this library can work fine with arduino ide 1.0.6. I need to use the ide 1.6.3 new features but I can't because the lib is not working on this ide version. Can I do something to make the rm04 library or arduino code compatible? in ide1.6.3 I can easily set up a specific serial buffer size greater than 512 bytes but in 1.0.6 you can't or it's not easy to do. Hope somebody can help me. Thanks in advance.
The text was updated successfully, but these errors were encountered: