Skip to content
Snippets Groups Projects
Verified Commit 61c8933b authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

fix: reorder encoder pins

This reflects the proper wiring of the motors
parent 59cf4a39
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ Repo: https://gitlab.uliege.be/thlamb/mecharaptor-controller
#define CLK_PIN 2 // Encoder CLK
#define DO_PIN 8 // Encoder Digital Output
#define CSN_PINS \
{ 3, 4, 5, 6 } // Encoder Chip Select pins
{ 6, 5, 4, 3 } // Encoder Chip Select pins
#define CUR1_PIN A1 // Current measurement for Front motor
#define CUR2_PIN A2 // Current measurement for Aft motor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment