I don't know what is the problem CCS or my code because all my code is OK but when I used "#byte puertad = 08" CCS writed:
"A numeric expression must appear here" on the number 8 .
please helpme . bye friend
Guest
Re: problem with port_D helpme please
Posted: Mon May 17, 2004 10:31 pm
robertopi wrote:
#byte puertad = 08
The compiler doesn't like the leading zero. It's customary to write it in hex as
#byte puertad = 0x08
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
Posted: Tue May 18, 2004 9:48 am
Check this, are you working with low voltage ? If not NOLVP is mandatory.
Quote:
#fuses NOWDT,XT, NOPROTECT
You set AD conversion result will be 10 bit wide.
Quote:
#device adc=10
Commenting out //#device adc=10 the result of the AD conversion will be 8 bit wide. Default condition.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum