Corrected interrupt code, and modified Example to demonstrate it