arduino_mega 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/arduino_mega.rb +2 -1
  2. metadata +1 -1
data/lib/arduino_mega.rb CHANGED
@@ -169,7 +169,8 @@ class ArduinoMega < Arduino
169
169
  end
170
170
 
171
171
  def p13h=(bflag)
172
- @p13h = send (bflag == true ? :set_high : :set_low), 13
172
+ @p13h = bflag
173
+ send (bflag == true ? :set_high : :set_low), 13
173
174
  end
174
175
 
175
176
  def to_s()
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: arduino_mega
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson