Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Error codes — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Robotics
Error codes
Mike NJ
Posts:
20
2007-07-08 20:35
edited 2007-07-09 17:24
in
Robotics
I have the BOE-Bot kit, and every once in a while I get a " ERROR 102
·
Expected Terminating" message. What does this mean? do I have a bad connection.
Thanks for you help...
Comments
Bruce Bates
Posts:
3,045
2007-07-08 22:37
edited 2007-07-08 22:37
Mike -
At what point in time are you, or what are you doing, when you receive that error message?
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Posts:
14,406
2007-07-09 00:37
edited 2007-07-09 00:37
There should be a character after the word "terminating" which is the missing character.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Mike NJ
Posts:
20
2007-07-09 04:37
edited 2007-07-09 04:37
Chapter 2 ,Page 55 I copy the pulseP13Led.bs2 example program and when I try to run it I get a popup message Error 102 expected Terminating, and a ok where I click the mouse
Mike
Unsoundcode
Posts:
1,532
2007-07-09 05:19
edited 2007-07-09 05:19
Hi Mike, do you have both quotation marks around the text
"
ProgramRunning!
"
Jeff T
Mike NJ
Posts:
20
2007-07-09 13:54
edited 2007-07-09 13:54
' {$STAMP BS2}
' {$PBASIC 2.5}
"PulseP13Led.bs2
" Send a 0.13 second pulse to the LSD circuit connected to P13every 2 s.
DEBUG "Program running"
DO
PULSOUT 13, 65000
PAUSE 2000
LOOP
Do I need to put the : after running?
Phil Pilgrim (PhiPi)
Posts:
23,514
2007-07-09 14:28
edited 2007-07-09 14:28
No, but comments start with a single quote, not a double quote (lines 4 and 5).
-Phil
Mike NJ
Posts:
20
2007-07-09 17:24
edited 2007-07-09 17:24
Thanks Phil
I got it to run like it should. Have to remember not to use a double quote in comments.
I'm new to this, But had BASIC in school 28 years ago..
Thanks again for your help
Mike
Sign In
or
Register
to comment.
Comments
At what point in time are you, or what are you doing, when you receive that error message?
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Mike
Jeff T
' {$PBASIC 2.5}
"PulseP13Led.bs2
" Send a 0.13 second pulse to the LSD circuit connected to P13every 2 s.
DEBUG "Program running"
DO
PULSOUT 13, 65000
PAUSE 2000
LOOP
Do I need to put the : after running?
-Phil
I got it to run like it should. Have to remember not to use a double quote in comments.
I'm new to this, But had BASIC in school 28 years ago..
Thanks again for your help
Mike