aboutsummaryrefslogtreecommitdiff
path: root/hsm-drive/Hsm/Drive.hs
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-09-13 13:46:51 +0000
committerPaul Oliver <contact@pauloliver.dev>2025-09-17 00:08:37 +0000
commit59afc91729b3ea372299f521ebdb4670483f56c9 (patch)
tree4b7f562d9639ad3297ab7da5bfd88fb9979367e1 /hsm-drive/Hsm/Drive.hs
parente71e80377f234d8dd426064c0b00238007ca8422 (diff)
Adjusts drive directions to work on new setupHEADmaster
Diffstat (limited to 'hsm-drive/Hsm/Drive.hs')
-rw-r--r--hsm-drive/Hsm/Drive.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/hsm-drive/Hsm/Drive.hs b/hsm-drive/Hsm/Drive.hs
index 2719ee7..e3bce0a 100644
--- a/hsm-drive/Hsm/Drive.hs
+++ b/hsm-drive/Hsm/Drive.hs
@@ -129,10 +129,10 @@ drive actions =
pinDiagSE = [diag2]
pinDiagSW = [diag1]
pinDiagNW = [diag2]
- pinsN = [dir2, dir4]
- pinsE = [dir1, dir2]
- pinsS = [dir1, dir3]
- pinsW = [dir3, dir4]
+ pinsN = [dir3, dir4]
+ pinsE = [dir2, dir3]
+ pinsS = [dir1, dir2]
+ pinsW = [dir1, dir4]
pinsCCW = [dir1, dir2, dir3, dir4]
pinsCW = []
-- The A4988 motor driver is placed in sleep mode between commands to