PINOUT
Things to remember:
-Our launchpad have 20 pins and are numbered counter -clockwise, with pin 1 being the top left pin.
-Also note that the Launchpad silkscreen (the white print on the launchpad board itself) has helpful labels to help you recognize the pin.
-Another important thing to see is that each pin has a few "nicknames".
Ex. RED_LED= A0= P1_0= 2.
Energia recognizes all these nicknames, for example, our code would work just the same if we use RED_LED or just 2 by itself.
-There are analog pins also, this means that they can read an analog signal, but note that not all the pins of the launchpad are analogs just the ones with an "Ax" on their nickname example A1 or A2 which are pin 3 and 4.
-Always make sure to have a copy of the PINOUT when you are coding in Energia, because it becomes really useful.
-Also note that the Launchpad silkscreen (the white print on the launchpad board itself) has helpful labels to help you recognize the pin.
-Another important thing to see is that each pin has a few "nicknames".
Ex. RED_LED= A0= P1_0= 2.
Energia recognizes all these nicknames, for example, our code would work just the same if we use RED_LED or just 2 by itself.
-There are analog pins also, this means that they can read an analog signal, but note that not all the pins of the launchpad are analogs just the ones with an "Ax" on their nickname example A1 or A2 which are pin 3 and 4.
-Always make sure to have a copy of the PINOUT when you are coding in Energia, because it becomes really useful.