routine : interrupt()

General discussion on mikroC.
Post Reply
Author
Message
Serge
Posts: 71
Joined: 12 May 2006 09:41

routine : interrupt()

#1 Post by Serge » 18 May 2006 11:56

Can we have interrupt function onto a separate file and declaring

extern void interrupt(void); into the main file ?

Thanks.

pizon
mikroElektronika team
Posts: 823
Joined: 11 Oct 2004 08:53

Re: routine : interrupt()

#2 Post by pizon » 19 May 2006 10:13

You can put interrupt() function anywhere you wish, and you don't have to declare it (at all), .... it will be linked properly.
pizon

Post Reply

Return to “mikroC General”