Is that ALL of your code?
This does not look like all of the code because of the errors.
Show us how you did this. Then maybe it will be all of your code.tried to do config settins by codes
I would guess that is your problem. What other PICs does all of your code work with?
Personally I like to change the configs in the *.inc file. Make a copy though in case you mess it up.
Tell the needed info and I am sure you will be helped.
Dave
Always wear safety glasses while programming.
thank you for your interest.without config codes my error is above.But When I include 1f2455.bas or 18f2455.ınc ( ı dont know which one to include ) , ı see more error. Here is all of my code.But after a saerch ı found some knowledge about it.For example ı found this site here. http://www.protongeeks.com/index.php...d=73&Itemid=29 And ı copied the code which in the bottom of the site.But again ı saw errors.
maybe Even this codes arent the right codes for my project, picbasic pro must compile it.But it fail.
And ı tried this program with PIC18F2455/2550/4455/4550 and ı saw the error above.But for example by trying it 18f452 , no problem.it is compiling.
Here is a sample for me .And my project is about mobile robot.ı use rf modules.
Transmitter side
16f84a
rf transmitter
and parallel port input
Receiver side
18f2455
rf receiver
motors
actually
ı wrote this code for 16f84a at the side of transmit.it compiled.But When ı tried this 18f2455,there are errors.
Can anybody of you help me about how to receive serial signals by picbasic.And ı will try it by 18f2455.I hope ı could tell myself.
you are right . I really didnt notice it. Have yoyu got any idea about it?
when ı add the 18f2455.ınc an error occurs. Must ı add config codes or include 18f2455.ınc ???
Code:durum1 var byte durum2 var byte durum3 var byte durum4 var byteI see variables being setup in 1st code block, and I see The variables value being outputted in serial format, I do not see how these variables get any value to be displayed. So I repeat skimask's question: is this all of your code?Code: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
JS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks