Shop OBEX P1 Docs P2 Docs Learn Events
Emic2 Not working on Basic Stamp Robot — Parallax Forums

Emic2 Not working on Basic Stamp Robot

edgarbedgarb Posts: 2
edited 2015-03-10 23:22 in General Discussion
Please help. I am trying to help my son connect the Emic2 Text to Speech module but failing at it. I don't know very much about this stuff so would really appreciate any insights.

The message i get when trying to run the test program is "Unknown Target module. $Stamp Directive not found."



When I run a different program that just uses the Basic Stamp I have no problems. Not sure if its the way i hooked it up or the program. FYI the pins are set to P0 and P1 in the program.

Thanks so much!!
IMG_4055.jpeg
IMG_4055.jpeg
360 x 480 - 73K

Comments

  • davejamesdavejames Posts: 4,047
    edited 2015-03-09 11:20
    edgarb - welcome to the Forum.

    Is the following at the very top of the source code that's causing the problem:
    ' {$STAMP BS2}
    ' {$PBASIC 2.5}
    

    If not, I could see that causing the error.

    The Stamp directive would depend on the model of BASIC Stamp being used and the PBASIC directive reflects the revision of PBASIC being used.
  • edgarbedgarb Posts: 2
    edited 2015-03-09 11:42
    Davejames, thanks so much! Although I don't understand exactly why, I replaced the source code that you said to with something from another program and it worked instantly. Can't wait to show my son.

    Thanks again!!!
    Edgar
  • davejamesdavejames Posts: 4,047
    edited 2015-03-09 11:49
    ...you're very welcome. Thank you for the followup.

    Take a look at the Stamp's IDE help system, and search on "directive". You'll find the discussion of the "why" for these two lines.

    Later.
  • ercoerco Posts: 20,256
    edited 2015-03-10 17:59
    davejames, do you ever get tired of saving the day? :) Good man once again!

    erco
  • davejamesdavejames Posts: 4,047
    edited 2015-03-10 23:22
    ...garsh! Twernt nothin.

    Just happy to help.
Sign In or Register to comment.