Shop OBEX P1 Docs P2 Docs Learn Events
basic stamp 2pe and text to speech (WTS701EF/T) — Parallax Forums

basic stamp 2pe and text to speech (WTS701EF/T)

nurulnurul Posts: 2
edited 2013-07-31 07:52 in BASIC Stamp
hi,

i have a text to speech (WTS701EF/T) model and im using a basic stamp 2pe, but i want to listen a word "hello" from the text to speech. can anyone help me on how to start on the code, or give me an example code. thank you.

Comments

  • ercoerco Posts: 20,256
    edited 2013-07-31 07:16
  • Mike GreenMike Green Posts: 23,101
    edited 2013-07-31 07:52
    The WTS701 uses the SPI protocol with 4 pins as described starting at page 46 of the datasheet. The Stamps, including the BS2pe, use HIGH and LOW to manipulate the SS pin and either SHIFTOUT to send data via the SCLK and MOSI pins or SHIFTIN to receive data via the SCLK and MISO pins. There are plenty of examples of SPI device communications in the Stamp documentation. Look in the Basic Stamp Syntax and Reference Manual and in some of the Nuts and Volts Columns.
Sign In or Register to comment.