My Timer Interrupt is set at 11025Hz and I am using Arduino Due.
You have to change that interrupt speed depending on your input speed. The actual mapping will depend on the effect you want to create.
My Timer Interrupt is set at 11025Hz and I am using Arduino Due.
You have to change that interrupt speed depending on your input speed. The actual mapping will depend on the effect you want to create.