compile problem with EEPROM instruction
wcummins
Posts: 12
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.
comments please,
Wayne
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
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.
Should it work, consider marking this thread as solved.