Exact match. Not showing close matches.
PICList
Thread
'[SX] Compile Error on Timer.SXB example'
2005\08\19@161442
by
bowhuntern/a
|
|
I am getting the following compile error when I try to compile the TIMER.SXB project and am not sure why.
TIMER.SXB(116) Line 116, Error 8, Pass 1:INVALID PARAMETER "DigiMap"
This line in the program is highlighted in yellow.
READ DigMap + digPntr, DigCtrl ' update digit control
I am using IDE 3.1 and the TIMER.SXB is dated 07 July 2005.
Any assistance would be appreciated.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Is it "DigiMap" or "DigMap" ?
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013#m85016
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\08\19@170721 by bowhuntern/a
|
|
Bean,
It is DigMap. I typed the error message wrong.
TIMER.SXB(116) Line 116, Error 8, Pass 1:INVALID PARAMETER "DigMap"
DigMap is a label for the start of the DATA statements.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013#m85020
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Mike,
Please post the complete program.
Bean.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013#m85037
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Oops, If I would actually READ you are referring to the timer example in the help.
What happened is that the SX/B "READ" command now has a requirement that the label be defined before the code that uses it.
This is because READ now allows you to use two variables OR a label and a variable. If you didn't define the label before the command it wouldn't know if you had misspelled a variable name, or if it was a label that had not been defined yet.
You need to move the data table before the READ command that uses it.
Now it's a little more complecated because no code or data can be before the INTERRUPT command. I fixed it like this:
'----------------------------------------
INTERRUPT
GOTO ISR_Start
DigMap: ' digit select map
DATA %11111110
DATA %11111101
DATA %11111011
DATA %11110111
ISR_Start:
'-----------------------------------------------
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013#m85038
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\08\19@194002 by bowhuntern/a
|
|
Bean,
Thanks alot for your help.
I figured the problem might have been the READ statement in the ISR. comming before the DATA statements but I was not sure how to correct it.
thanks again
Mike S.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=85013#m85046
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- Today
- New search...