void smpltimerisr(void);
const int ledPin = 13; // Teensy3 has LED on 13
volatile unsigned long smplidx = 0;
IntervalTimer smpltimer;
void setup(){
pinMode(ledPin, OUTPUT);
smplidx = 0;
smpltimer.begin(smpltimerisr, 1000000);
}
void loop(){
if(smplidx == 0)
digitalWrite(ledPin, HIGH);
else...