arduino:serial_communication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
arduino:serial_communication [2012/09/14 01:02] – mithat | arduino:serial_communication [2012/09/14 01:02] – mithat | ||
---|---|---|---|
Line 23: | Line 23: | ||
// set LED state accordingly | // set LED state accordingly | ||
- | if (buttonState == LOW) // if the button is pushed | + | if (buttonState == LOW) |
digitalWrite(ledPin, | digitalWrite(ledPin, | ||
else // otherwise | else // otherwise |
arduino/serial_communication.txt · Last modified: 2012/09/14 01:19 by mithat