This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2311: Printing Pin Value to Console/Screen

Part Number: MSP430FR2311
Other Parts Discussed in Thread: MSP-EXP430FR2311, ENERGIA

Hi,

I've very new to embedded systems and especially the MSP430 (I'm a coop student and have only worked with arduino before). I was hoping someone can help me print the value of the A5 (P1.5) pin to console. I am trying to set up the TIA and would like to see if I am getting the results I expected. 

What I thought to do was set the pin to a variable and then print the variable using printf(). Is this a good way to approach? Also, how do I declare the pin (P1.5)? I've tried looking online but haven't found anything concrete.

Any help is much appreciated! 

**Attention** This is a public forum