Using channel as logic output

I’ve gone through older posts about this but still don’t follow. I have a Mini Maestro 18. Let’s say I have one channel (9) that is set as an output. What would the line look like to set this to a logical 1 or 0 to act as a logic output for another board?

Hello.

When configured as outputs, the Maestro channels can output simple digital signals: as mentioned in the “Channel Settings” section of the Maestro user’s guide, the output will be low 5V if the target is greater than or equal to 1500µs and 0V if the target is under 1500µs.

Brandon

Sorry, I wasn’t clear, my question is what would the script line look like? I saw a SetTarget command mentioned but that isn’t recognized. I saw no other obvious commands on the list of “servo, LED, abd other output commands” in the documentation.

I’ve been playing around and have found the servo command set to 0 or 6000 seems to drive an output high or low, but it seems like that should only be used for servos.

The script still uses the same servo command to set the target. Please note that the servo command uses units of quarter-microseconds. So, setting it to anything lower than 6000 (e.g. 4000 0 servo) should drive it low and setting it to anything 6000 or higher (e.g. 8000 0 servo) should drive it high.

Brandon