To enable interrupts, a library (header file) must be included:
#include avr/interrupt.h
In the main function (before the endless loop) the global interrupt command must be invoked:
sei();
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.