-
Notifications
You must be signed in to change notification settings - Fork 54
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
Arduino R4 Minima not supported #42
Comments
Hi, you could try changing line 32 of IBusBM.h to add your board: #if defined(ARDUINO_ARCH_MBED) || defined(ARDUINO_UNOR4_MINIMA) n.b. timer won't work so you'll need to set IBUSBM_NOTIMER and call the loop yourself |
Hello Megactt, thanks so much. Adding || defined(ARDUINO_UNOR4_MINIM to the ibusBM.h worked out so far. The compilation took quite a while, but at the end the compiler just reported some warnings and no more errors. Now I am going to exchange the arduino Uno with the Arduino Uno R4 mimima in my hardware project. I'm quite excited how the outcome will be. The exchange of the boards will probably take a week. I'll keep you updated and I am going to post a video on youtube of my project called "Circle Heli" just for fun and share it with you. Cheers, Björn |
Hello Megactt, |
Timer should be disabled in the begin call: IBus.begin(Serial, IBUSBM_NOTIMER); Not sure if this will make a difference as you are calling the loop yourself already |
I have just created a branch that should work with your Arduino R4 and put a pull request in for the main library if that helps. This uses the FspTimer to run the loop at 1000hz You can find the repository with the code here |
Hi, unfortunately I can't get my code running with Arduino R4 Minima Board.
I get the following errors message:
../src/IBusBM.h:43:14: error: reference to 'HardwareSerial' is ambiguous
void begin(HardwareSerial &serial, int8_t timerid=0, int8_t rxPin=-1, int8_t txPin=-1);
The text was updated successfully, but these errors were encountered: