Every time the name ledPin appears in the code, its value will be retrieved. It's being used to indicate which Arduino pin the LED is connected to. For example, the line from the Blink sketch above declares a variable with the name ledPin, the type int, and an initial value of 13. The message "LED connected to digital pin 13" is a comment.Ī variable is a place for storing a piece of data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |