const byte dimmerSwitchISR = 9; // temporary switch for counter. counter is pwm for led dimmer
volatile byte dimmerCount; // track button press
byte dimmerValue; // set PWM with counter 0-3
a teensy is like Arduino but better. it uses the Arduino IDE and language but its way faster and the pin out capabilities are far more flexible.
the reason Im using one is because eventually this program will be processing a AMG8833 sensor.