Subject:
|
Compiler errors.
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 21 May 1997 03:59:34 GMT
|
Original-From:
|
Keith the wonder wookie <KAS219@stopspamPSU.EDU>
|
Viewed:
|
2253 times
|
| |
| |
I am still getting a strange compiler error and I can't figure it out.
The exact error is:
Compiler error! 62 extra bytes left on board stack
Sometimes the number of bytes is more and sometimes less. I'm sending
along a copy of the code that is causing the errors. All it consists of
is the motor,sleep, and beep commands. Thanks for your help.
The code:
<bigger>void square()
{
/* start moving forward */
beep();
sleep(1.5);
motor(0,100);
motor(1,100);
sleep(2.0);
alloff();
/* turn */
sleep(1.0);
motor(0,100);
motor(1,-100);
sleep(1.0);
alloff();
/* forward*/
sleep(1.0);
motor(0,100);
motor(1,100);
sleep(2.0);
alloff();
/* turn */
sleep(1.0);
motor(0,100);
motor(1,-100);
sleep(1.0);
alloff();
/* forward*/
sleep(1.0);
motor(0,100);
motor(1,100);
sleep(2.0);
alloff();
/* turn */
sleep(1.0);
motor(0,100);
motor(1,-100);
sleep(1.0);
alloff();
/* forward*/
sleep(1.0);
motor(0,100);
motor(1,100);
sleep(2.0);
alloff();
/* turn */
sleep(1.0);
motor(0,100);
motor(1,-100);
sleep(1.0);
alloff();
sleep(1.0);
beep();
}
</bigger>
Keith Soldavin
kas219@email.psu.edu
http://www.personal.psu.edu/kas219/
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|