hi everyone,
this is my first post.I am happy to be here.
Now I have a problem with Microcode Studio.My problem is about compiling a program with 18f2455.My code is here.I wrote this code random , cursory.
-------------------------------------
include "modedefs.bas"
durum1 var byte
durum2 var byte
durum3 var byte
durum4 var byte
output porta.1
trisb=%11111111
if portb.0=1 then
serout porta.1,t300,["a",durum1]
endif
if portb.1=1 then
serout porta.1,t300,["b",durum2]
endif
if portb.2=1 then
serout porta.1,t300,["c",durum3]
endif
if portb.3=1 then
serout porta.1,t300,["d",durum4]
endif
END
----------------------------------------
But when ı compile this with any other microcontrollers there is no problem.Compiling is successfull.But compiling with 18f2455 or 18f2550 there is a problem below.
I couldnt understand the error.What can ı do about it?What is the problem here? I have no any idea.I tried to do config settins by codes but I failed.I really need a help
Thank you for your answer
Bookmarks