Shop OBEX P1 Docs P2 Docs Learn Events
Clock output pin for synchronizing external electronic devices — Parallax Forums

Clock output pin for synchronizing external electronic devices

AdelineYanAdelineYan Posts: 2
edited 2005-02-03 00:47 in BASIC Stamp
Hi

I have a problem. Anyone can help?
Does Basic Stamp 2 controller have a clock pin, for clock synchronization with external devices. For example a Analog-Digital converter and any digital electronics device that require a clock input from the control.

Thanks.

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2005-02-01 08:43
    Adeline-

    Take a look at the SHIFTIN amd SHIFTOUT commands in the PBASIC Stamp Manual, or the help file. You have your choice of which pins you chose to use as a clock and data pins. There is no one single pin designated as a clock pin to directly answer your question.

    Other Stamp platforms also use I2CIN and I2COUT which you may want to take a look at as well. In this case there are specific pins which must be used. These commands are not available on the plain BS-2 however. The BS-2P and BS-2PE do support these commands.

    Regards,

    Bruce Bates
  • AdelineYanAdelineYan Posts: 2
    edited 2005-02-03 00:47
    Thanks.
Sign In or Register to comment.