Skip to content

Commit 961bdda

Browse files
committed
fixed date in gemspec and finished license stuff
Signed-off-by: Akash Manohar J <[email protected]>
1 parent d75a7d7 commit 961bdda

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

arduino.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ $:.push File.expand_path("../lib", __FILE__)
33

44
Gem::Specification.new do |s|
55
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}
88
s.platform = Gem::Platform::RUBY
99
s.authors = ["Akash Manohar"]
1010
s.email = ["[email protected]"]

example_blink.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
require "arduino"
1+
require "./lib/arduino"
22

33
#specify the port as an argument
4-
myBoard = Arduino.new('/dev/ttyUSB2')
4+
myBoard = Arduino.new('/dev/ttyUSB0')
55

66
#declare output pins
77
myBoard.output(13)

lib/arduino.rb

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
73
#
8-
# Author:: Dave Thomas (mailto:[email protected])
9-
# Copyright:: Copyright (c) 2002 The Pragmatic Programmers, LLC
10-
# License:: Distributes under the same terms as Ruby
4+
# Author:: Akash Manohar ([email protected])
5+
# Copyright:: Copyright (c) 2010 Akash Manohar
6+
# License:: MIT License
117

128
require "serialport"
139

0 commit comments

Comments
 (0)