triggerino 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,25 +2,24 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- Add this line to your application's Gemfile:
5
+ Add this lines to your application's Gemfile:
6
6
 
7
7
  gem 'triggerino'
8
+ gem 'dino',
9
+ git://github.com/supherman/dino.git',
10
+ branch: 'lcdv3'
8
11
 
9
12
  And then execute:
10
13
 
11
14
  bundle
12
15
 
13
- Or install it yourself as:
14
-
15
- gem install triggerino
16
-
17
16
  ## Usage
18
17
 
19
- 2. Create a "triggerino" dir
18
+ 1. Create a "triggerino" dir
20
19
 
21
20
  mkdir triggerino
22
21
 
23
- 3. Define your action classes
22
+ 2. Define your action classes
24
23
 
25
24
  touch triggerino/my_action.rb
26
25
 
@@ -35,8 +34,11 @@ Or install it yourself as:
35
34
  'A descriptive name for your action'
36
35
  end
37
36
  end
37
+ 3. Wire your arduino like this
38
+
39
+ ![LCD](http://arduino.cc/es/uploads/Tutorial/lcd_bb.png)
38
40
 
39
- 2. Run the listener
41
+ 4. Run the listener
40
42
 
41
43
  bundle exec triggerino
42
44
 
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler'
4
- Bundler.require
3
+ require 'bundler/setup'
4
+ require 'triggerino'
5
+ require 'dino'
5
6
 
6
7
  Signal.trap("SIGINT") do
7
8
  Thread.current.exit
@@ -1,3 +1,3 @@
1
1
  module Triggerino
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triggerino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: