arduino_mega 0.1.1 → 0.1.2

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 -2
  2. metadata +1 -1
data/lib/arduino_mega.rb CHANGED
@@ -168,8 +168,8 @@ class ArduinoMega < Arduino
168
168
  end
169
169
  end
170
170
 
171
- def p13h=(bflag)
172
- send (bflag == true ? :set_high : :set_low), 13
171
+ def p13h=(bflag)
172
+ @p13h = send (bflag == true ? :set_high : :set_low), 13
173
173
  end
174
174
 
175
175
  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.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson