We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i still have problem in the code
i think it is startup.a51 and fix but still proble when run on cpu if it does not do what i say in code
when i build it gives a message
** error C138 interupt can not recieive or return a value
but i do not interupt i do not clik the stop build button
the proj is needed and i now worry big in my pants
plz send code
?int main( integer argc, char ***argv[] ) interrupt 10 This will not compile anywhere
main in an embedded system Looks like this:
void main (void) { // Initilize stuff here while(1) { // loop around here forever } // return nothing, where would you go there in no O/S } <\pre> interrupt is a special function type it is always void function name (void); That is what the compiler told you. By the way "i now worry big in my pants" just does not work in english.