Jump to content
jedmar

Accessing pins P2.3 and P2.4 on an MSP430FR5739

Recommended Posts

Hi,

I want to use Energia to program my MSP430FR5739. I have used the 34 pin variant which has two pins that are not on the dev board - P2.3 and P2.4. I am using these as analogue inputs.

I found another post which indicated that I could edit the pins_energia.h file with the following lines

static const uint8_t P2_3 = 31;
static const uint8_t A12 = 31;

Which should, on the face of it, get P2.3 working, but no success...

Any help would be appreciated!

Share this post


Link to post
Share on other sites

You will also need to add them to the end of the pins arrays in pins_energia.h:

  • digital_pin_to_timer[]
  • digital_pin_to_port[]
  • digital_pin_to_bit_mask[]
  • digital_pin_to_analog_in[]

 

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...