Shop OBEX P1 Docs P2 Docs Learn Events
Help With Pink Module(Serial to BSp) — Parallax Forums

Help With Pink Module(Serial to BSp)

DiablodeMorteDiablodeMorte Posts: 238
edited 2006-02-12 00:36 in General Discussion
oK. I am trying to work on an idea for another post. I have a pink and would like to talk to it w/ a bsp

The config of the PINK serial is:
Baud: 9600
Data Bits: 8
Data Parity: None
Stop Bits: 1

My bs code is:

' PINK_01.bs2
' {$STAMP BS2p}
' {$PBASIC 2.5}

NBVAR VAR Byte

SEROUT 8,240,[noparse][[/noparse]"!NB0R06"]
SERIN 7,240,[noparse][[/noparse]NBVAR]

DEBUG "|",DEC NBVAR,"|",CR

END

I think its wired right. I wired it as the manual said(except the serial out is pin 8 and serial in is 7)
Is there any reason why it would NOT work?

P.S. I can access the pink on the web

Oh, And it is a BSP40

Post Edited (DiablodeMorte) : 2/11/2006 7:17:09 PM GMT

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-12 00:36
    Since you mentioned it's a BS2p40, which set of I/O pins are you connected to, the MAINIO or the AUXIO?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.