lib/arduino_firmata/const.rb in arduino_firmata-0.0.2 vs lib/arduino_firmata/const.rb in arduino_firmata-0.0.3

- old
+ new

@@ -1,8 +1,8 @@ module ArduinoFirmata def self.list - Dir.entries('/dev').grep(/tty\.usb/).map{|fname| "/dev/#{fname}"} + Dir.entries('/dev').grep(/tty\.?usb/i).map{|fname| "/dev/#{fname}"} end INPUT = 0 OUTPUT = 1 ANALOG = 2