arduino 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "arduino"
6
- s.version = "0.3.1"
7
- s.date = %q{2010-01-01}
6
+ s.version = "0.3.2"
7
+ s.date = %q{2011-01-01}
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Akash Manohar"]
10
10
  s.email = ["akash@akash.im"]
@@ -1,7 +1,7 @@
1
- require "arduino"
1
+ require "./lib/arduino"
2
2
 
3
3
  #specify the port as an argument
4
- myBoard = Arduino.new('/dev/ttyUSB2')
4
+ myBoard = Arduino.new('/dev/ttyUSB0')
5
5
 
6
6
  #declare output pins
7
7
  myBoard.output(13)
@@ -1,13 +1,9 @@
1
- # The program takes an initial word or phrase from
2
- # the command line (or in the absence of a
3
- # parameter from the first line of standard
4
- # input). In then reads successive words or
5
- # phrases from standard input and reports whether
6
- # they are angrams of the first word.
1
+ # A ruby library to talk to Arduino without
2
+ # having to burn programs repeatedly to the board.
7
3
  #
8
- # Author:: Dave Thomas (mailto:dave@x.y)
9
- # Copyright:: Copyright (c) 2002 The Pragmatic Programmers, LLC
10
- # License:: Distributes under the same terms as Ruby
4
+ # Author:: Akash Manohar (akash@akash.im)
5
+ # Copyright:: Copyright (c) 2010 Akash Manohar
6
+ # License:: MIT License
11
7
 
12
8
  require "serialport"
13
9
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Akash Manohar
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-01-01 00:00:00 +05:30
17
+ date: 2011-01-01 00:00:00 +05:30
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency