-
1 Attachment(s)
Error When Compile
when i am using the expression serout portb.1,2,["channel 1 ",#x,10,13] the compiler pass.when i am using the expession serout portb.1,2,["channel 1 ",DEC x,10,13] the compiler gives me an "error line 79 bad expession".I can't find why? i also check in forum other programms that use it like this .I am using PBP 2.47 and micro code studio plus 2.2.1.1.I also upload the jpeg file with error.Do anyone know why i have this error?
-
Hi,
It's because the DEC modifier isn't supported by the SEROUT command. You need to switch to SEROUT2, DEBUG, HSEROUT or HSEROUT2.
/Henrik Olsson.
-
Thank's a lot for your quick reply.I lost much time and it was so easy......