TlaunchPad 0 Posted December 21, 2019 Share Posted December 21, 2019 Hello, I'm a newbie and was trying example codes using MSP-EXP430G2ET. Soon I noticed RED_LED and GREEN_LED work opposite against codes. Is this common or I have wrong setting? For example, when I run Blink code as follow, #define LED RED_LED void setup() { pinMode(LED, OUTPUT); } void loop() { digitalWrite(LED, HIGH); delay(1000); digitalWrite(LED, LOW); delay(1000); } the MSP430 blinks green led instead of red led. I went over the user's guide of MSP 430 but couldn't find description about RED_LED or GREEN_LED so your help is appreciated. The IDE is Energia version 1.8.7E21 and it's running on Windows 10. Thank you, Quote Link to post Share on other sites
Rei Vilo 695 Posted December 21, 2019 Share Posted December 21, 2019 Yes, this is a bug, sorry a feature of the MSP-EXP430G2ET! TlaunchPad 1 Quote Link to post Share on other sites
TlaunchPad 0 Posted December 21, 2019 Author Share Posted December 21, 2019 Thank you very much. Do we have a set of reported bug like this? 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.