- This topic has 3 replies, 3 voices, and was last updated 9 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › 8051 interrupt problem
hi
i need help with 8051 interrupt code i write code to setting time and date in rtc using 7 segments i have multiplecing using 74595 and write a function to send data to display it ok then i make interrupt to setting time by call the function from it, it show Warning because i call the function from it
so i need solution how to call the function from interrupt (can or cann't) and why it show Warning
can i set the time from interrupt and using function or not
please post your code as it will make your problem more clear to us.
the interrupt function need not to be called
it executes automatically when interrupt arrives
u have to declare function as ISR using "interrupt" keyword like
void ext_int0() interrupt 0
i make call for interrupt and inside it i call function to display data while setting it show warrning ?