Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct {
- size_t size;
- int *pins;
- int *values;
- } PinConfig;
- // ...
- StepperAxis::PinConfig xMicrostepPinConfig[4] = {
- {
- 2,
- {xMicrostepSettingPin1, xMicrostepSettingPin2},
- {1, 1}
- },
- {
- 2,
- {xMicrostepSettingPin1, xMicrostepSettingPin2},
- {1, 0}
- },
- {
- 2,
- {xMicrostepSettingPin1, xMicrostepSettingPin2},
- {0, 0}
- },
- {
- 2,
- {xMicrostepSettingPin1, xMicrostepSettingPin2},
- {0, 1}
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement