I still do not have a good understanding for Interrupt I have theoretical question on interrupt eg. generate first interrupt for 15 ms and print "orange" inside in ISR routine . when first interrupt over generate second interrupt for 20 ms and print "mango" inside ISR routine
I am showing how the first interrupt will work, through the pseudo code, But for the second interrupt, where mango should to be write in code ?
I am showing how the first interrupt will work, through the pseudo code, But for the second interrupt, where mango should to be write in code ?
C:
#include<microcontroller.h>
int main ()
{
intilize_system();
while ()
{
}
return 0;
}
Interrupt()
{
printf("orange \n");
}
}