Buttons are very useful. They are one way to provide input to an Arduino. Here's how to wire one: Then, in your code, use: pinMode(2, INPUT); and digitalRead(2);
0 Comments
|
Author:-) :-) ArchivesCategories |