examples/firmata.rb in artoo-1.6.7 vs examples/firmata.rb in artoo-1.8.0
- old
+ new
@@ -1,7 +1,7 @@
require 'artoo'
-connection :firmata, :adaptor => :firmata, :port => '127.0.0.1:8023'
+connection :firmata, :adaptor => :firmata, :port => '/dev/ttyACM0' #linux
device :board
device :led, :driver => :led, :pin => 13
work do
puts "Firmware name #{board.firmware_name}"