PINK and the Homework Board
Joe M
Posts: 45
Sorry about another PINK question... anyone have one working with the homework board? I can't get my serial communication working right. None of the samples in the pdf are working for me. Any help would be really appreciated.
Thanks!
-Joe
Thanks!
-Joe
Comments
Here are some code samples, this is the code include in PINK-code-v1.0.zip that is on the parallax web site. If I run:
' PINK_01.bs2
' {$STAMP BS2}
' {$PBASIC 2.5}
NBVAR VAR BYTE
SEROUT 8,396,[noparse][[/noparse]"!NB0R06"]
SERIN 7,396,[noparse][[/noparse]NBVAR]
DEBUG DEC NBVAR
END
The output is 255
if I run :
' PINK_02.bs2
' {$STAMP BS2}
' {$PBASIC 2.5}
NBVAR VAR BYTE(16)
SEROUT 8,396,[noparse][[/noparse]"!NB0R06"]
SERIN 7,396,[noparse][[/noparse]STR NBVAR\16\CLS]
DEBUG STR NBVAR
END
the output is a "~"
Any help would be greatly appreciated.
Thanks all.
-Joe
·· Are you using a BASIC Stamp 2 or a different Stamp Model?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
The PINK is working fine with a normal BS2 chip hooked up to it, but its not working its mojo for me on the HomeWork Board...
Thanks,
-Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I am powering the PINK with a seperate 5v power source, its a guess because the power reqs aren't anywhere in the PDF.
The HW board is a Rev B.
But I also think its a baud problem...
Thanks,
-Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Thanks,
-Joe