doubt
jabezsdavid
Posts: 11
I am working on with PINK. I want to send data to pink variable and then display it on the web page. so example program DS 1620 instead of debug I used serout.
DO
HIGH 10
SHIFTOUT 12,11,LSBFIRST,[noparse][[/noparse]170]
SHIFTIN 12,11,LSBPRE ,[noparse][[/noparse]x]
LOW 10
degC=x/2
SEROUT 15,396,[noparse][[/noparse]"!NBOW06:degC",DEC degC,CLS]
PAUSE 1
LOOP
and to get it on the web page, I used the html code
<html>
the value in variable 06 is : <Nb_var06>
</html>
I am not able to display onto the webpage.
DO
HIGH 10
SHIFTOUT 12,11,LSBFIRST,[noparse][[/noparse]170]
SHIFTIN 12,11,LSBPRE ,[noparse][[/noparse]x]
LOW 10
degC=x/2
SEROUT 15,396,[noparse][[/noparse]"!NBOW06:degC",DEC degC,CLS]
PAUSE 1
LOOP
and to get it on the web page, I used the html code
<html>
the value in variable 06 is : <Nb_var06>
</html>
I am not able to display onto the webpage.
Comments
Can you see the PINK on your network?
Have you used the sample programs?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
' {$STAMP BS2p}
' {$PBASIC 2.5}
SEROUT 14,396,[noparse][[/noparse]"!NBOW06:25",CLS]
END
do I have to go modify the variables in the System Variables
Hopefully someone else will join in the conversation before then.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
Try to replace with this code, the only difference is that·your O in·!NBOW06 is replaced with a zero, !NB0W06:
Hope this helps!
Additional note:
When writing to memory location 06 I think you write to Pink's Flash-memory, (00-19). I guess this memory have limited life, like in the BS2, ·so I prefer using memory location 20-99 for fast-changing data.
Post Edited (Moskog) : 7/18/2010 4:47:50 PM GMT
·