Marc 10 Posted November 29, 2017 Share Posted November 29, 2017 Hi, I am trying to modify some of the core Energia files (main.c) so that I can initialize GPIO pins to LOW right away before Energia goes through its startup sequence. I have an LED driver connected to the MSP430FR5739 experimenter board (v1.1). The issue is, during the startup sequence (before my setup() code is running) the control pin from the experimenter board to the LED driver is active high for a few seconds thus turning the LED to full brightness. I would like to avoid using an external resistor if possible. My question is: 1. Is there a better way to initialize GPIO pins in Energia before the startup sequence? 2. I tried modifying main.cpp (under xxx\energia-1.6.10E18\hardware\energia\msp430\cores\msp430), but the changes didn't seem to reflect when I compiled my code with Energia. I even tried putting erroneous statements intentionally to see if this cause the compilation to fail, but it didn't do anything. Is this the correct file? Or does this version of Energia not allow modifications to core files? Thank you! Hardware: MSP430FR5739 Experimenter board v1.1 Energia Version: 1.6.10E18 OS: WIndows 7 Quote Link to post Share on other sites
Marc 10 Posted November 30, 2017 Author Share Posted November 30, 2017 This thread answered my question - Thanks @Rickta59! 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.