|
C4EV3
|
Macros | |
| #define | OUT_A 0x01 |
| #define | OUT_B 0x02 |
| #define | OUT_C 0x04 |
| #define | OUT_D 0x08 |
| #define | OUT_AB 0x03 |
| #define | OUT_AC 0x05 |
| #define | OUT_AD 0x09 |
| #define | OUT_BC 0x06 |
| #define | OUT_BD 0x0a |
| #define | OUT_CD 0x0c |
| #define | OUT_ABC 0x07 |
| #define | OUT_BCD 0x0e |
| #define | OUT_ABCD 0x0f |
| #define | OUT_ALL 0x0f |
| #define | OUT_MASK 0x0f |
Output port constants are used when calling motor control API functions.
| #define OUT_A 0x01 |
Output port A
| #define OUT_AB 0x03 |
Output ports A and B
| #define OUT_ABC 0x07 |
Output ports A, B, and C
| #define OUT_ABCD 0x0f |
Output ports A, B, C, and D
| #define OUT_AC 0x05 |
Output ports A and C
| #define OUT_AD 0x09 |
Output ports A and D
| #define OUT_ALL 0x0f |
All output ports (A-D)
| #define OUT_B 0x02 |
Output port B
| #define OUT_BC 0x06 |
Output ports B and C
| #define OUT_BCD 0x0e |
Output ports B, C, and D
| #define OUT_BD 0x0a |
Output ports B and D
| #define OUT_C 0x04 |
Output port C
| #define OUT_CD 0x0c |
Output ports C and D
| #define OUT_D 0x08 |
Output port D
| #define OUT_MASK 0x0f |
The output port mask
1.8.6