|
"Steve Barile" <sebarile@sstanamera.com> writes:
> I have controlled LEGO trains via the RCX many times. The question is how to
> control the speed of the train under a finer ganularity then just the native
> power levels.
>
> snip ...this comment has promise! Can you vary the width of the pulse?
> <The good news is that the RCX outputs are pulse-width modulated.>
Yes. When you set the power for an output port actually you select the
duty cycle of a square wave. The granularity depends on firwmare. With
standard firmware you can select between 7 power levels; legOS has 255
levels.
bye
Bernardo
New e-mail: dibbe@freestation.it
|
|
Message is in Reply To:
| | Re: RCX motor pulsing
|
| I have controlled LEGO trains via the RCX many times. The question is how to control the speed of the train under a finer ganularity then just the native power levels. snip ...this comment has promise! Can you vary the width of the pulse? <The good (...) (24 years ago, 22-May-01, to lugnet.trains, lugnet.robotics)
|
25 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|