Changes

Jump to: navigation, search

Week 4 Lab

173 bytes added, 04:16, 21 April 2009
modifying for rudimentary keyboard control
* Connect up the TIP120 driver circuit and motor from last week. Voila! You have a simple motor speed control, through the computer.
* Typing 0-9 on the computer will set the motor speed from (0-98.8%) of full speed) (the <code>(28*val-'0'))</code> in <code>analogWrite(ledPin, 28*(val-'0'))</code> above)
=== controlling from a Processing app ===

Navigation menu