Using a Maestro channel input as feedback from a motor encoder

Can the Maestro scripting language count the number of times a channel input is closed using an encoder (such as the one sold with the 25D motors) and then when the count is reached use it to stop, start or change directions of a servo or motor on another channel?

Hello.

The Maestro’s channels do not support the use of interrupts, so they are not good at reading fast signals, such as counting encoder tics from encoders like those on our metal gearmotors. Instead, you could use a microcontroller that has interrupts like an Arduino or one of our A-Stars.

For a little more information on quickly sampling an analog input on the Maestro, you can read this forum post.

-Jon