h.galeh
Member level 3
- Joined
- Apr 16, 2008
- Messages
- 66
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Tehran, Iran, Iran
- Activity points
- 1,690
hello
I want to use () parantheses to convert a 16 bit to integer equivalent but error occurs
what should I do?
this is the wrong line:
LATB=(int)prt;
--------
my Compiler is "c30" of microchip
----------
error message is:
newmain.c:52: error: aggregate value used where an integer was expected
I want to use () parantheses to convert a 16 bit to integer equivalent but error occurs
what should I do?
this is the wrong line:
LATB=(int)prt;
--------
my Compiler is "c30" of microchip
----------
error message is:
newmain.c:52: error: aggregate value used where an integer was expected