jedmar 0 Posted April 26, 2017 Share Posted April 26, 2017 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! Quote Link to post Share on other sites
energia 485 Posted April 27, 2017 Share Posted April 27, 2017 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[] Quote Link to post Share on other sites
jedmar 0 Posted May 3, 2017 Author Share Posted May 3, 2017 Thanks Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.