>
> Well...I just had an opportunity to try out the below suggestion and
> here's what I did:
>
> - Hooked a single wire from Line 8 to Line 17.
> - Dim-ed oRCIN1, set up it's Adjust property, and turned it on
> - Created an oServo on Line 8 and commanded it to go to the neutral
> position (32)
> - Created another oServo on Line 9 and had the following line in the
> code:
>
> Servo2.Position = Vex.Ch1
>
> - Servo2 was setup on Line 9 and and Vex is the name of oRCIN1
>
> Here's the interesting thing: when I hooked up an actual servo on Line
> 9, I didn't get a response AT ALL from the servo. I unplugged the
> Line 8 - Line 17 connection and reset the ooPIC, plugging in the
> actual servo to Line 8 this time and saw it go to the neutral
> position. To me, this meant that oServo on Line 8 was working (though
> not a big surprise) but that Ch1 wasn't even being defined by oRCIN1,
> as Servo2.Position didn't even register when a Servo was plugged into
> Line 9.
>
> The next part was probably the most interesting: when I changed oRCIN1
> to oRCIN6 (and that's all I changed, though I put the setup back to
> it's original state, making the Line 8 - Line 17 physical connection),
> I got a response out of the servo hooked up on Line 9. Unfortunately,
> the servo thought Ch1 was 0, as it moved to that position. I have
> previously verified that the value here is, in fact, 0 by using the
> Object Watcher program. In the past, moving the transmitter's CH1,
> and thereby ideally changing this value from 0 to something else, does
> nothing.
>
> oRCIN1 to oRCIN6 made a difference with SOMETHING, though I'm still
> not really sure what. Thoughts...comments?
>
> Jonathan
>
As I mentioned earlier, I have no way to try the oRCIN1. Maybe it is
vaporware. IIRC, there have been objects defined in previous
iterations that didn't really work. Maybe this is one of them.
But I don't know that and I have no way to find out.
If you had an oServo connected to an oRCIN1 and the oRCIN1 didn't
return a value similar to that of the oServo and you know for certain
that the oServo is generating pulses then it's probably a good bet
that the oRCIN1 object doesn't work.
Richard
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
No comments:
Post a Comment