This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error C141: syntax error near 'unsigned'

hi there, i have struct with the problem.in the multiplexing of the 7-segment display. as i complited the 7-segment display multiplexing. prog.is working properly. but when i moved to the next some advance step it give's the above msg. i think the problem is in the variable passing between function. because as i try to pass the local data to globle side

can any one explain me the passing the value's between two function. the function returning the value is in the main function
and
the function which recive's the value is out of the main function

the function which recive's the value is out of the main function is the part of the interrupt routine


the function which sending or returning the value is the part of main function

Parents Reply Children
  • "there is no such type of mistake"

    Well, clearly there is - or you wouldn't get the error!

    The error relates specifically tou your source text - so, if you want help with it, you are going to have to post that source!

    Please be sure to read the instructions for posting code:
    http://www.keil.com/forum/tips.asp

    Use spaces to lay-out your code - not TABs (the interpretation of TABs is unpredictable).

    Use copy-and-paste - do not manually re-type the code into your post!