Shop OBEX P1 Docs P2 Docs Learn Events
SX capablilities — Parallax Forums

SX capablilities

AImanAIman Posts: 531
edited 2006-10-09 21:38 in General Discussion
Has anyone maxed out the capabilities of the SX?
I would like to link to a computer and run 10 pins with sonar and 4 with motors.
Can the·SX Support that?
(I have a 44 pin)

Comments

  • pjvpjv Posts: 1,903
    edited 2006-10-09 20:35
    Hi AIman;

    Without you telling us more about the sonar and more about the motors, the answer would be: "Sure, if you program it that way".

    Cheers,

    Peter (pjv)
  • YendorYendor Posts: 288
    edited 2006-10-09 21:38
    Just remember, everything has to happen sequentially, and that the cool functions in SX/B uses bit banging which varies the application time·based on the parameters used.

    For example, you'll have to wait on for each sonar (assuming you're using the PING))) ) to respond, before going to the next ping.

    The further out the Ping detects, the slower the response time, however, we're not taking a lot of time here!

    Then youd' have to wait on the serial data you're sending to the computer.

    Finally,·you may need to be creative on the variable assigments, as each PING responds with a WORD value.

    Again, as Peter suggests, it depends on the application!

    Rodney

    Post Edited (Yendor) : 10/9/2006 9:52:04 PM GMT
Sign In or Register to comment.