Timer/PCA exercises
Digital signal delay generator
Write a timer interrupt service routine to implement a digital delay generator. Select a port bit for the input and another for the output. The interrupt service routine samples the input at a given rate, and outputs the value of the preceeding n-th sample, so output[i]=input[i-n], where the range of n is 0..100.