README.markdown in hybridgroup-sphero-1.1.4 vs README.markdown in hybridgroup-sphero-1.1.5

- old
+ new

@@ -1,8 +1,8 @@ # sphero -* http://github.com/tenderlove/sphero +* http://github.com/hybridgroup/sphero ## DESCRIPTION: A ruby gem for controlling your Sphero ball. Sends commands over the TTY provided by the bluetooth connection. @@ -14,10 +14,30 @@ ## SYNOPSIS: You can easily start your Sphero and send it commands like this: ```ruby +Sphero.start '/dev/tty.Sphero-YBW-RN-SPP' do + roll 60, FORWARD + keep_going 3 + + roll 60, RIGHT + keep_going 3 + + roll 60, BACKWARD + keep_going 3 + + roll 60, LEFT + keep_going 3 + + stop +end +``` + +Here is another example: + +```ruby Sphero.start "/dev/tty.Sphero-PRG-RN-SPP" do ping # Roll 0 degrees, speed 125 roll(125, 0) @@ -34,11 +54,11 @@ keep_going 1 stop end ``` -Here is a another way to do the same thing via just normal method calls: +Here is a another way to do the same thing as the previos example, via just normal method calls instead of the DSL: ```ruby s = Sphero.new "/dev/tty.Sphero-PRG-RN-SPP" s.ping @@ -61,17 +81,17 @@ * A Sphero ball connected to your computer ## INSTALL: -* gem install sphero +* gem install hybridgroup-sphero ## LICENSE: (The MIT License) Copyright (c) 2012 Aaron Patterson -Additional Copyright (c) 2012-2013 The Hybrid Group +Copyright (c) 2012-2013 The Hybrid Group Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,