DPRG
DPRG List  



[DPRG] programmable mobile robots for under $20

Subject: [DPRG] programmable mobile robots for under $20
From: . zappepcs at earthlink.net
Date: Thu Aug 21 17:44:01 CDT 2003

Guess what?

I joined the Snaptrax fan club too...

I guess we are going to have to have a spybotics game now?


----- Original Message -----
>From: "Dale Wheat" <dale at dalewheat.com>
To: <rljordan at airmail.net>; <dprglist at dprg.org>
Sent: Wednesday, August 20, 2003 10:16 PM
Subject: Re: [DPRG] programmable mobile robots for under $20


> Bob,
>
> > I got the Snaptrack!
>
> Welcome to the SnapTrax fan club!
>
> > 1. How does one use this high level scripting language?
> > 2. Is there a list of the commands for this language I have missed?
>
> It's a scripting language that looks a lot like C.  The complete
> documentation should be in the ScriptEd Help file.  Try Help/Contents.
Also
> very useful is the "validate" command - it tells you if you've made a
syntax
> error whilst typing in your program.
>
> Here is a simple program example:
>
> program demo {
>  output rightMotor on 1
>  sensor bumper on 1
>  bumper is switch as boolean
>  main {
>   forever {
>    while bumper is closed { }
>    forward rightMotor
>    on rightMotor
>    while bumper is not closed { }
>    reverse rightMotor
>    on rightMotor
>   }
>  }
> }
>
> Note that you have to specify motor direction and then turn it on for
> anything to happen.  You can also set motor speed (0-7).
>
> Thanks,
>
> Dale Wheat
> http://dalewheat.com
> (972) 486-1317
> (800) 330-1915, access code 00
>
> _______________________________________________
> DPRGlist mailing list
> DPRGlist at dprg.org
> http://nimon.ncc.com/mailman/listinfo/dprglist


More information about the DPRG mailing list