Shop OBEX P1 Docs P2 Docs Learn Events
SERIN With SX — Parallax Forums

SERIN With SX

SteelSteel Posts: 313
edited 2006-08-30 17:00 in General Discussion
When you run SERIN with the SX Chip, does it just grab what is currently on the line, or does it wait for the start bit?

ie...If I have a neutral 5V on the pin, will it automatically read "FF" and move on with the program, or will it Halt the program, and 'wait' for a start bit and data?

thanks
Shaun

Comments

  • BeanBean Posts: 8,129
    edited 2006-08-30 17:00
    Steel,
    SERIN will wait for the input to go to the IDLE state before clocking in any bits. So if the line is held in the ACTIVE state, it will wait.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    There are only two guaranteed ways to become weathy.
    Spend less than you make.
    Make more than you spend.
    ·
Sign In or Register to comment.