Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. typedef struct {
  2. size_t size;
  3. int *pins;
  4. int *values;
  5. } PinConfig;
  6.  
  7. // ...
  8.  
  9. StepperAxis::PinConfig xMicrostepPinConfig[4] = {
  10. {
  11. 2,
  12. {xMicrostepSettingPin1, xMicrostepSettingPin2},
  13. {1, 1}
  14. },
  15. {
  16. 2,
  17. {xMicrostepSettingPin1, xMicrostepSettingPin2},
  18. {1, 0}
  19. },
  20. {
  21. 2,
  22. {xMicrostepSettingPin1, xMicrostepSettingPin2},
  23. {0, 0}
  24. },
  25. {
  26. 2,
  27. {xMicrostepSettingPin1, xMicrostepSettingPin2},
  28. {0, 1}
  29. }
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement