-
Notifications
You must be signed in to change notification settings - Fork 1k
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 with Teensy 3.x #7
Comments
- Adjusted define in RF24_Config.h for teensy - Teensy doesn't seem to support extended SPI methods, may not perform as well as on Due - Currently compiles, but is untested with teensy
It compiles now for Teensy 2 & 3 boards, but I do not have a board for testing. Please let me know if there are any problems. |
Now it compiles, but doesn't work. I don't know if this helps, but this fork works perfectly on teensy 3.x - https://github.com/sumotoyy/RF24 (edited link, earlier link was incorrect) |
Yeah, that definitely helps, but also adds to my confusion somewhat. I took a good look through the code, and from what I can tell, the main issues with the Teensy would revolve around the printf stuff, but the radio should work otherwise unless I made a mistake somewhere. |
- Moved printf.h to root library folder - Modified printf.h for better compatibility with Arduino Due and Teensy - Fixed some potential bugs preventing Teensy from working - Improved Due support and performance - may help correct issue #7
TMRh20, my 2 cents: the sumotoyy fork has a delayMicroseconds(10) in startWrite.... |
Modified write() to use startFastWrite, then toggle CE after completion to remove need for a delay on some boards. Added delay to startWrite for non-Arduino boards. Removed receive buffer flushes. This prevents an issue in the RF24Network library, where payloads would be received, but flushed when a transmission takes place prior to reading. Should address issues #7 and #11
Ok, I think commit 1d18015 will address the issue. I've added a delay to startWrite for non-Arduino and Teensy boards, and have modified the standard radio.write() to remove the need for a delay on all boards. It passes all my tests, so hopefully this will do the trick. |
Per a tip from Andrew A. this should be the final nail in the coffin of issue #7
Per a tip from Andrew A. this should be the final nail in the coffin of issue #7
Hi , i tried to build Getting started example with arduino and teenseyduino on teensy 3.1 board. and the following errors occur: any suggestions? Arduino: 1.6.1 (Mac OS X), TD: 1.21-beta10, Board: "Teensy 3.1, Serial, 16 MHz (No USB), Italian" Build options changed, rebuilding all This report would have more information with |
In your compile errors:
points to:
Which seems to indicate you are using an old version of the Arduino IDE? Is this the case? |
i'm using arduino 1.6.1 in this case, but i can revert on 1.0.6 to solve. |
Aha, I believe TeensyDuino for 1.6.1 is still beta, so if it works with 1.0.6 I would probably want to wait for an official release of 1.6.1 to address any issues. |
OK thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: