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 +10 -8
- data/bin/triggerino +3 -2
- data/lib/triggerino/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -2,25 +2,24 @@
|
|
2
2
|
|
3
3
|
## Installation
|
4
4
|
|
5
|
-
Add this
|
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
|
-
|
18
|
+
1. Create a "triggerino" dir
|
20
19
|
|
21
20
|
mkdir triggerino
|
22
21
|
|
23
|
-
|
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
|
-
|
41
|
+
4. Run the listener
|
40
42
|
|
41
43
|
bundle exec triggerino
|
42
44
|
|
data/bin/triggerino
CHANGED
data/lib/triggerino/version.rb
CHANGED