Hello,
I'm brand new to the Teensy platform, and I'm trying to use a Teensy 4.1 to sample from a 16bit ADC.
I'm currently trying to make sure my code which samples data is fast enough to run at the desired rate (around 600KHz).
For testing, I have mimicked the setup recommended in this post and the corresponding video: https://forum.pjrc.com/threads/48101-PMT-pulse-counting-using-Teensy-3-2
Physical setup is not very important here, all that matters is when I try to compile the sample code in that thread, I get this error:
I'm working in Ubuntu 18.04 with arduino 1.8.13 and teensyduino 1.53. Other code is working just fine.
I suspect I'm either missing an include of some sort or not linking properly, this is a difference in version (since the sample code was for a 3.x board), or something totally different since I'm completely new to the platform.
Any ideas?
Thanks!
-Seth
EDIT: I now realize that I have this thread a very misleading name... sorry.
I'm brand new to the Teensy platform, and I'm trying to use a Teensy 4.1 to sample from a 16bit ADC.
I'm currently trying to make sure my code which samples data is fast enough to run at the desired rate (around 600KHz).
For testing, I have mimicked the setup recommended in this post and the corresponding video: https://forum.pjrc.com/threads/48101-PMT-pulse-counting-using-Teensy-3-2
Physical setup is not very important here, all that matters is when I try to compile the sample code in that thread, I get this error:
Code:
error: 'IRQ_PORTA' was not declared in this scope
I'm working in Ubuntu 18.04 with arduino 1.8.13 and teensyduino 1.53. Other code is working just fine.
I suspect I'm either missing an include of some sort or not linking properly, this is a difference in version (since the sample code was for a 3.x board), or something totally different since I'm completely new to the platform.
Any ideas?
Thanks!
-Seth
EDIT: I now realize that I have this thread a very misleading name... sorry.