Open main menu
Changes
Week 4 Lab
No change in size
,
18:31, 21 April 2009
→
modifying for rudimentary keyboard control
val=val-'0'; // set value between 0 and 9.
out_speed=val*28; // set out_speed between 0 and 252.
analogWrite(
ledpin
ledPin
, out_speed);
}
}
← Older edit
Newer edit →
Mchoy
9
edits