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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 045817c2e789686019b0c8e8fa2b5fac3e92a3e1
4
- data.tar.gz: 8cdb1bf4d66cb039b5bb0c55b8238830803dd753
3
+ metadata.gz: 3cf88f9049feb8ff521853258e111d72f1f22d47
4
+ data.tar.gz: 9836c93f42752ff2f2dca44452827d67d4b44147
5
5
  SHA512:
6
- metadata.gz: dd0ea3779643df75afe7021a09ca1c50650209f23d310cac6e164113ddf9591f744fd25a353a3ecb121cbae746f2343940f0498c3e4587d8792e6e3b6c827509
7
- data.tar.gz: 95dad1ab9e906f82b7c555f6c50ce18bf85a0e6617c20822475694126b13ea9a37d4ad48c729395d05d7c44c09f1d36a8e1bed8f14c6b488b3037f58d817e0fc
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=true, y_homing_normally_open=true)
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
@@ -1,3 +1,3 @@
1
1
  module Rotor
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rotor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - kobaltz