Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
remove mode setting on initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
phemmer committed Jun 27, 2014
1 parent bf83d33 commit 69bde2f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/arduino_firmata/arduino.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ def initialize(serialport_name, params)
break if @version
end
sleep 3 if old_arduino_device?

(0...6).each do |i|
write(REPORT_ANALOG | i)
write 1
end
(0...2).each do |i|
write(REPORT_DIGITAL | i)
write 1
end
end

def run(&block)
Expand Down

0 comments on commit 69bde2f

Please sign in to comment.