samples/servo.rb in arduino_firmata-0.1.7 vs samples/servo.rb in arduino_firmata-0.1.8
- old
+ new
@@ -6,8 +6,8 @@
arduino = ArduinoFirmata.connect ARGV.shift
loop do
angle = rand 180
puts angle
- arduino.servo_write 11, angle
+ arduino.servo_write 9, angle
sleep 1
end