1:03 pm
December 22, 2015
Hello,
I've tried to implement timer interrupt to Arduino Due by using the examples provided.
As Due uses different Timer library than other non-ARM arduinos (for Due, I used to use DueTimer.h library),
the compilation process failed;
1.0.0.16, Arduino Due (Programming Port)
WARNING: library TimerOne claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [sam] architecture(s).
temp.ino: In function 'void setup()':
temp.ino:14:12: error: 'class TimerOne' has no member named 'initialize'
temp.ino:15:12: error: 'class TimerOne' has no member named 'attachInterrupt'
Error compiling.
I know that it is possible to solve this by importing arduino libraries as you showed in the tutorial PDF, but do you plan to add a solution
from the Interrupts Pallettes, specificaly for Arduino DUE, or is this an already solved case?
Regards
7:39 pm
March 12, 2015
That is correct, the current implementation of the Timer Interrupt only works with AVR architectures. This is documented in the LabVIEW help documentation. At the time this functionality was integrated, there had not been enough investigation into the DueTimer library you mentioned so it had not been integrated natively. Now that the Compiler includes the ability to create your own LabVIEW wrappers for Arduino libraries, you can very well create one for the Due Timer Interrupt library. There should be sufficient documentation and examples for you to do this. We will add this request on our list for future features although we don't have any immediate plans to integrate it at this time. Thanks for the feedback.
13
1 Guest(s)