rotor 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rotor/motor.rb +2 -2
- data/lib/rotor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf88f9049feb8ff521853258e111d72f1f22d47
|
4
|
+
data.tar.gz: 9836c93f42752ff2f2dca44452827d67d4b44147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0665868a8a31735bce1fb0aa1bde3d4081b5cddf1580c9c62de663cbde7708e29819473d185fe60ddaa6a3f66ea16b3da538fbd0f28e57f5690ede6e057722b
|
7
|
+
data.tar.gz: 11f5c40470346c2f8652b9c9d2d4687951167a04008aa26184538a35598317deac31b5e2b28e85d1cf5ad1709bed60f8200521a5168ba7c0c18567ff026c7782
|
data/lib/rotor/motor.rb
CHANGED
@@ -61,7 +61,7 @@ module Rotor
|
|
61
61
|
@io.write(@coil_B_2_pin, w4)
|
62
62
|
end
|
63
63
|
|
64
|
-
def set_home(x_coord=0, y_coord=0, x_homing_switch, y_homing_switch, x_homing_normally_open
|
64
|
+
def set_home(x_coord=0, y_coord=0, x_homing_switch, y_homing_switch, x_homing_normally_open, y_homing_normally_open)
|
65
65
|
x_homing_normally_open ? x_homing_logic = :high : x_homing_logic = :low
|
66
66
|
y_homing_normally_open ? y_homing_logic = :high : y_homing_logic = :low
|
67
67
|
|
@@ -84,6 +84,6 @@ module Rotor
|
|
84
84
|
@y_move = false
|
85
85
|
end
|
86
86
|
end
|
87
|
-
|
87
|
+
|
88
88
|
end
|
89
89
|
end
|
data/lib/rotor/version.rb
CHANGED