Sha256: ab5aa566634abfec2914b081cc532be60b9cbd325161909b14955a731deaef3f
Contents?: true
Size: 309 Bytes
Versions: 21
Compression:
Stored size: 309 Bytes
Contents
# Hardware: motor control circuit (i.e. TIP-120 control pin) # connected at pin 7. # Demo: http://www.youtube.com/watch?v=7OguEBfdTe0 class SerialMotor < ArduinoSketch output_pin 7, :as => :motor serial_begin def loop digitalWrite(motor, serial_read) if serial_available end end
Version data entries
21 entries across 21 versions & 4 rubygems