Shop OBEX P1 Docs P2 Docs Learn Events
compile problem with EEPROM instruction — Parallax Forums

compile problem with EEPROM instruction

wcumminswcummins Posts: 12
edited 2014-01-07 12:17 in BASIC Stamp
Hi All,
I'm starting a project using a Homework Board to drive a 12 character 5x7 display. I want to use EEPROM to store text. When I compile I get an error message "Label Is missing ':'"

EEPROM 0, ("Parallax Basic Stamp Homework Board") When I click Syntax Check or Run EEPROM is highlighted and I get an error window that says " Label is missing ':' " The symble looks like a colon. I've checked and rechecked but I can't find any problem with this statment.
' {$STAMP BS2}
' {$PBASIC 2.5}

Dpin  PIN 4
Clk   PIN 5

Red    PIN 8
Yel    PIN 9
Green  PIN 10

Avar VAR Byte
Bvar VAR Byte
Cvar VAR Byte
counter VAR Byte

EEPROM 0,("Parallax Basic Stamp Homework Board")

Start:


comments please,

Wayne

Comments

  • davejamesdavejames Posts: 4,047
    edited 2014-01-07 10:32
    Hello Wayne,

    Looks like you've mixed BS1 commands with the BS2 directive - {$STAMP BS2}.

    The EEPROM command is for the BASIC Stamp 1.

    I believe the DATA command would be equivalent for the BS2.
  • wcumminswcummins Posts: 12
    edited 2014-01-07 10:55
    Thanks Dave, I'll give it a try.
  • davejamesdavejames Posts: 4,047
    edited 2014-01-07 12:17
    ...welcome!

    Should it work, consider marking this thread as solved.
Sign In or Register to comment.