Subject:
|
Re: Spybot studies: photoelectric eye
|
Newsgroups:
|
lugnet.robotics.spybotics
|
Date:
|
Thu, 6 Nov 2003 18:05:18 GMT
|
Viewed:
|
6512 times
|
| |
| |
John Hansen wrote:
[snip]
> One thing in particular that I intend to look into in detail is the ability to
> communicate with the Spybot (reliably) using the USB tower. It looks like I can
> send immediate commands and get back valid responses via the USB tower. I am
> able, for instance, to use a new tool window I've added to BricxCC (using
> op-code Set Source Value 0x05) to set the Spybot sources and then I can turn
> around and watch the values using the old watch window or the customizable watch
> window (another new tool window I'm working on). Similarly, I can use the
> direct control window to turn on motors, etc... Most of the tool windows work
> just fine talking to the Spybot via the USB tower. That means, of course, that
> you can read the Spybot light sensor value via BricxCC and you can turn on motor
> C without completely messing up your communication with the brick! :-) The
> Memory Map window doesn't work and the Diagnostics window doesn't completely
> work right. It may even be possible to get NQC to download a program to the
> Spybot via the USB tower so long as the download block size is no larger than 4
> bytes.
[snip]
John,
While working with BricxCC on a spybot project (still not done) I
encountered an odd situation.
1st) something happened to the comm port that the spybot cable is
connected; I couldn't send or receive (or detect) the spybot.
2nd) Using the autodetect feature, it detected the spybot through the
USB tower (that happened to be face down on the table a couple feet away!)
3rd) I was able to download programs to the spybot through the USB tower.
Is this what you are referring to (program -> USB Tower -> spybot)? It
seemed to work just fine for me.
// Joe
|
|
Message has 2 Replies: | | Re: Spybot studies: photoelectric eye
|
| (...) I'm nearly certain that you can't (currently) download programs to a Spybot via the USB tower. The MindScript compiler (LCC32) complains that it can't open the serial port (and unless LEGO releases an update to their vpbrick.dll COM object it (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
|
Message is in Reply To:
| | Re: Spybot studies: photoelectric eye
|
| (...) I think this is fantastic, Brian. I look forward to seeing future posts on the results of your studies. I am working with Dave Baum to incorporate the new Spybot API features into the official NQC API. One aspect of that involves documentation (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|