Help with error (148)message.
Archiver
Posts: 46,084
Attempting to run a program I obtained to control a servo thru
MiniSSC. Each time I attempt to 'run', I receive an error window-
'expect a label' noted 'error 148'. The '[noparse][[/noparse]' is highlighted. The line
is: serin 8, 16572, 1200,[noparse][[/noparse]wait("GPRMC,"),wait............ I am brand
new to this and have looked and can not find any reference to error
messages, what it means, of how to resolve.
MiniSSC. Each time I attempt to 'run', I receive an error window-
'expect a label' noted 'error 148'. The '[noparse][[/noparse]' is highlighted. The line
is: serin 8, 16572, 1200,[noparse][[/noparse]wait("GPRMC,"),wait............ I am brand
new to this and have looked and can not find any reference to error
messages, what it means, of how to resolve.
Comments
>Attempting to run a program I obtained to control a servo thru
>MiniSSC. Each time I attempt to 'run', I receive an error window-
>'expect a label' noted 'error 148'. The '[noparse][[/noparse]' is highlighted. The line
>is: serin 8, 16572, 1200,[noparse][[/noparse]wait("GPRMC,"),wait............ I am brand
>new to this and have looked and can not find any reference to error
>messages, what it means, of how to resolve.
Presuming the second WAIT is actually in your code, remove it, as WAIT
is a PBASIC Reserved Word:
serin 8, 16572, 1200,[noparse][[/noparse]wait("GPRMC,"),wait
^^^
Regards,
Bruce Bates
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
program where to go if the SERIN times out. The label would come after the
timeout period and right before the data section -- that's why the compiler is
highlighting what it does. See the SERIN description in the online documentation
or manual for details.
-- Jon Williams
-- Parallax
In a message dated 5/24/2003 10:53:44 AM Central Standard Time,
wsmalley@c... writes:
> Attempting to run a program I obtained to control a servo thru
> MiniSSC. Each time I attempt to 'run', I receive an error window-
> 'expect a label' noted 'error 148'. The '[noparse][[/noparse]' is highlighted. The line
> is: serin 8, 16572, 1200,[noparse][[/noparse]wait("GPRMC,"),wait............ I am brand
> new to this and have looked and can not find any reference to error
> messages, what it means, of how to resolve.
[noparse][[/noparse]Non-text portions of this message have been removed]