thanku so much sir.i think this may be the problem coz i have checked and rechecked many a times my logic.i'll look again n let u know.by the way this is the first time any person has actually helped me out on forums so thanks v much again!
thanku so much sir.i think this may be the problem coz i have checked and rechecked many a times my logic.i'll look again n let u know.by the way this is the first time any person has actually helped me out on forums so thanks v much again!
n i am using PICBASIC PLUS COMPILER
I am sorry, I am not familar with PICBASIC Plus or with:
Set_Defaults PROTON_4
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
archangel sir i checked.there is no problem with the declarations.in this compiler one can declare the variables both ways.may be something wrong with the logic....
IF P_VAL>=600 THEN PACKET.11=1 ENDIF
maybe something wrong in this line.maybe my calculations are abit off???
Hi,
You really should visit the forum for the compiler you are using. I know it's confusing but there are several different BASIC-compilers for PICs and they are all slightly different from each other in syntax etc so you'll get much better help on a forum where everybody else is using the same compiler as you are - which isn't the case here. There's a link to the PROTON forum in second post in the thread.
With that said the line......looks a bit odd to me. I'd try FOR SONY_LP = 0 to 11 instead. But then again your syntax may be perfectly valid for the PROTON compiler you're using, I don't know since I'm not using it.Code:for SONY_LP=0 TO SONY_LP=11
/Henrik.
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.
ok thanks everyone.4 pointing me in the right direction!
Bookmarks