« Return to Thread: Power Function control with RCX and BrickOS

Re: Power Function control with RCX and BrickOS

by Jason J Railton-2 :: Rate this Message:

Reply to Author | View in Thread

In lugnet.general, Bob Kojima wrote:

>> direct'.  But I can't get 'Single output' or either of the 'Single pin'
>> modes to work.  Have you had any more luck?
>
>
> The toggle bit is checked in Single output mode (the documentation is not
> quite right for this mode) and in both single pin modes.  each message is
> sent 5 times you need to toggle the toggle bit in every message sent. 0 1 0 1
> 0 1 0 1 etc.
>
> bob

Okay, thanks.  I can get 'Single output Mode' to work now.  'Single pin Mode'
may be working too, but I'm not sure what to expect from it.

I would expect setting either C1 or C2 would set them to 9V and run a motor
forwards or backwards.  Setting them both would stop it.

But it seems if I set them, they do nothing.  Unless the motor is already
running.  If it's running forwards at slow speed, then I set C1, it jumps up to
full speed.  But then if I set C2 it keeps running, and if I clear C1 it keeps
running, and in the same direction.

Can you get a motor to run just be setting C1?

Jason R

 « Return to Thread: Power Function control with RCX and BrickOS