hybridgroup-firmata 0.4.3 → 0.4.4

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: ebd228f6dc309942ec522c162d3c5554d1e1cb3e
4
- data.tar.gz: 2aff2d08276a96077c4de6d1f51310093f1978ce
3
+ metadata.gz: 717e5c7c7635cb4521e7e1e24b1faea3ef6e974c
4
+ data.tar.gz: 9ce1e8fd9b90fbb9da37270b4fa70bb36fd8165f
5
5
  SHA512:
6
- metadata.gz: c08ebeef9a04d7e9634b92b889bbeeefee10b9553e8b030a99b023f72169cb2b7a8756c27384b8c8212c3ace2f044be9463bb0489b44ebda95b97fb1ae3da8a3
7
- data.tar.gz: 24177f3dc56e768a08fdcda9341b3228957831ba0ece27ec8067f03a2406949560bac30a25ef3daea24179dc1e589ec28e8f85ccd85aa4bdd98b844dbc43804d
6
+ metadata.gz: e265ddf82f0fab41bd212769084d945994925bacdbec7dfb731095b96a74276ff4d813dc709ecba9e945e0cb4ed772d516d46f48b3537ca6c82979257c9297f5
7
+ data.tar.gz: 7a1b669c2b1fee61d25ab8f47e89d7f04a877d60f22188722f78933509329167cc3425e6543c8580efd38b436deef82f978622b96ea508cebe8f6d45e02a3d37
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hybridgroup-firmata (0.4.3)
4
+ hybridgroup-firmata (0.4.4)
5
5
  event_emitter
6
6
 
7
7
  GEM
data/lib/firmata/board.rb CHANGED
@@ -402,6 +402,8 @@ module Firmata
402
402
 
403
403
  pin.value |= (current_buffer[6] << 14) if current_buffer.size > 7
404
404
 
405
+ event(:pin_state, current_buffer[2], pin.value)
406
+ event("pin_#{current_buffer[2]}_state", pin.value)
405
407
  when I2C_REPLY
406
408
  # I2C reply
407
409
  # 0 START_SYSEX (0xF0) (MIDI System Exclusive)
@@ -1,3 +1,3 @@
1
1
  module Firmata
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hybridgroup-firmata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - '''Mike Breen'', ''Adrian Zankich'', ''Ron Evans'', ''Isaac A. Murchie'', ''Rafael
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-19 00:00:00.000000000 Z
12
+ date: 2013-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake