Jump to content
Ralphxyz

Where is A0?

Recommended Posts

Sorry I am brand new to all of this.

Energia uses pins but how are the pins mapped to the MSP430?

Where on the MSP430FR6989 or MSP-EXP430G2 is A0?

Thanks for the much needed help.

Ralph

Share this post


Link to post
Share on other sites

Thank you, I knew it had to be somewhere.

However the MSP430FR6989 image does not show A0 and the MSPG2 pinmap page is not found!

On the MSP430FR6989 pinmap I see BLUE A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, and A15.

Of course the data-sheets do not use pins, they reference Ports, which coming from AVR programing I prefer.

I am trying to use the stepper_speedControl and it calls for a pot on A0.

Hopefully I am overlooking something, which would not be the first time.

Ralph

Share this post


Link to post
Share on other sites

A0 is on P1.0 which is not brought out to the boosterpack header but instead connected to LED1 (aka RED LED). If you wanted to you could remove the jumper from LED1 and feed your analog signal into the right side jumper pin. You can then use analogRead(A0) to acquire the analog signal on that pin.

A0.png

I suggest modifying the Sketch and picking a different analog input that is available on the boosterpack header.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...