Subject:
|
RE: Spririt.ocx / Cybermaster
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 30 Dec 1998 14:49:28 GMT
|
Original-From:
|
Norman Fair <nfair@^antispam^gdi.net>
|
Viewed:
|
1467 times
|
| |
| |
The firmware is the program that controls the RCX unit. You should go to
the lego mindstorms web page (www.legomindstorms.com) and look for the
documentation for programming with the Spirit.ocx. It lists the commands
that are used by the RCX and the commands for the Cybermaster.
-----Original Message-----
From: Vainola Harri [SMTP:Harri.Vainola@icl.fi]
Sent: Tuesday, December 29, 1998 3:31 PM
To: lego-robotics@crynwr.com
Subject: Spririt.ocx / Cybermaster
Hello
I have tried to program Cybermaster with Visual Basic and Spirit.ocx.
I downloaded getstart.zip but it doesn't work.
I cant find file "firm0309.lgo".
System is alive and tower tries to download prorgram but
cybermaster does not receive information. What is wrong?
Is there any good web sites?
Example is so minimal.
Please send me zipped demos.
Private Sub DownloadFirmware_Click()
PBrickCtrl.DownloadFirmware "firm0309.lgo"
End Sub
Private Sub DownPrgm_Click()
'simple motor on wait off test program
PBrickCtrl.SelectPrgm MotorControl
PBrickCtrl.BeginOfTask MotorOnOff
PBrickCtrl.Wait CON, 50 'wait 0.5 sec
'drive forward for 2 sec
PBrickCtrl.SetPower "motor0motor2", CON, kFullSpeed
PBrickCtrl.SetFwd "motor0motor2"
PBrickCtrl.On "motor0motor2"
PBrickCtrl.Wait CON, 200 'wait 2 sec
'change direction and drive 2 sec
PBrickCtrl.SetRwd "motor0motor2"
PBrickCtrl.Wait CON, 200 'wait 2 sec
PBrickCtrl.Off "motor0motor2"
'play buildin sound
PBrickCtrl.PlaySystemSound SWEEP_FAST_SOUND
PBrickCtrl.EndOfTask
End Sub
best Regards
harri.vainola@icl.fi
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|