|
NXC
Version 1.2.1 r5
|
|
inline |
Send a SetOutputMode message.
Send the SetOutputMode direct command on the specified connection slot. Use RemoteConnectionIdle to determine when this write request is completed.
| conn | The connection slot (0..4). Connections 0 through 3 are for bluetooth connections. Connection 4 refers to the RS485 hi-speed port. See Remote connection constants. |
| port | The output port to configure. See Output port constants. |
| speed | The motor speed. (-100..100) |
| mode | The motor mode. See Output port mode constants. |
| regmode | The motor regulation mode. See Output port regulation mode constants. |
| turnpct | The motor synchronized turn percentage. (-100..100) |
| runstate | The motor run state. See Output port run state constants. |
| tacholimit | The motor tachometer limit. |