Subject:
|
Re: visual basic simple question?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 23 Nov 1999 20:33:47 GMT
|
Viewed:
|
570 times
|
| |
| |
mike mcfarlane <mike.mcfarlane@virgin.net> wrote in message
news:FLo2JH.GwJ@lugnet.com...
> Hi All
>
> I'm struggling with VB and spirit.ocx.
> I've enclosed the VB code below, but the problem I have is that whenever I try
> to poll the angle sensor, the value on the RCX resets to zero. Hence a zero
> reading, even if I am turning the angle sensor.
> I have a form set up that allows you to select the sensor type and the mode.
> Type is set to angle and mode is set to angle.
I think your problem is that the RCX zeros the sensor when you execute the
SetSensorType even if it is already that type of sensor. Only want to do
that once then keep Polling for values.
|
|
Message has 1 Reply:
Message is in Reply To:
| | visual basic simple question?
|
| Hi All I'm struggling with VB and spirit.ocx. I've enclosed the VB code below, but the problem I have is that whenever I try to poll the angle sensor, the value on the RCX resets to zero. Hence a zero reading, even if I am turning the angle sensor. (...) (25 years ago, 23-Nov-99, to lugnet.robotics)
|
5 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
|
|
|
Active threads in Robotics
|
|
|
|