I have arduino mega. /this board supports interrupts on 2,3 21,20,19,18 pins.
I want to connect 4 interrupts which occur in my project (traffic lights based on ambulance detection). while one interrupt is being served, the other interrupts may go high. after completion of first interrupt, there may be more than one interrupt high. hence i want to know the default priority of interrupts. it is not possible to change hardware connections hence ,is there any possiblity to change the priority??
if so please give me the code for changing the priority??