Shop OBEX P1 Docs P2 Docs Learn Events
Help with SEROUT... — Parallax Forums

Help with SEROUT...

Tricky NekroTricky Nekro Posts: 218
edited 2006-05-30 13:10 in BASIC Stamp
I need to send serial data to a device.
I don't know much so I'm asking for help...
The device has the following specs:
even parity
needs 8 bits and one stop bit
and it's working at·19200 baudrate...

This is an LCD backpack I'm working on and I would send the data ashycronously and serially...


Thanks for your time, Provas, GReece

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2006-05-30 00:52
    Yup. Classic.

    Lookup the SEROUT command in the on-line documentation.
    I assume you'll need the 'non-inverted' mode.
  • Tricky NekroTricky Nekro Posts: 218
    edited 2006-05-30 12:26
    Not so classic... I don't know what to do with the stop bit!!!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Rule your Destiny-
    --Be Good. Be Bad. Be Provas--
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-05-30 13:10
    Provas (The Dead Guy) said...
    The device has the following specs:
    even parity
    needs 8 bits and one stop bit
    and it's working at·19200 baudrate...
    · The BASIC Stamp can only do 8-bit, NO parity or 7-bit EVEN parity. ·8-bit, EVEN parity is not an Option.
    · In any event, you don't program the Stop bit; it's taken care of for you,·it is part of the plan.
Sign In or Register to comment.