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