JohnPunnett
Active member
Hi all,
Hope you do not mind me posting here. I am new to Forum & Teensy 3.2 so Hello. Teensy looks like a fantastic product.
Anyway, as a first project I just want to change an Analog voltage every few secs to a different level - I am doing this with a simple Analog write to A14. In the background I want to read an analog input voltage (say from A0) every 100msecs & to send data to Serial Monitor. As I understand the easiest way to do this is to use some kind of Timer Interrupt that every 100msecs executes an Analog Read & Serial Print. Does this sound reasonable & also what would be the easiest Timer function for this purpose. I've a little experience with the Arduino Uno & IDE & am using the Arduino IDE for programming.
Many thanks for any help/ suggestions - John.
Hope you do not mind me posting here. I am new to Forum & Teensy 3.2 so Hello. Teensy looks like a fantastic product.
Anyway, as a first project I just want to change an Analog voltage every few secs to a different level - I am doing this with a simple Analog write to A14. In the background I want to read an analog input voltage (say from A0) every 100msecs & to send data to Serial Monitor. As I understand the easiest way to do this is to use some kind of Timer Interrupt that every 100msecs executes an Analog Read & Serial Print. Does this sound reasonable & also what would be the easiest Timer function for this purpose. I've a little experience with the Arduino Uno & IDE & am using the Arduino IDE for programming.
Many thanks for any help/ suggestions - John.