Hi All,
I am using a Teensy LC (Yes I know it's old and no longer supported, but thought I'd ask anyway) for a project using the PulsePosition library. I got some odd results, and after a bit of research I found there is another version for the LC (and others) called PulsePositionIMXRT. I tried that but it threw two compile errors, which are:
Since my knowledge of C++ is zero, what do I have to do to fix these errors?
Thanks.
I am using a Teensy LC (Yes I know it's old and no longer supported, but thought I'd ask anyway) for a project using the PulsePosition library. I got some odd results, and after a bit of research I found there is another version for the LC (and others) called PulsePositionIMXRT. I tried that but it threw two compile errors, which are:
Code:
In file included from /home/ian/Arduino/TeensyLC/TeensyLC.ino:2:
/home/ian/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/PulsePosition/PulsePositionIMXRT.h:49:26: error: 'IMXRT_TMR_t' does not name a type
49 | volatile IMXRT_TMR_t* tmr;
| ^~~~~~~~~~~
/home/ian/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/PulsePosition/PulsePositionIMXRT.h:67:84: error: 'IMXRT_TMR_CH_t' does not name a type
67 | static inline void checkAndProcessTimerCHInPending(uint8_t index, volatile IMXRT_TMR_CH_t *tmr_ch);
| ^~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1
Thanks.