energia / msp430-lg-core

15 stars 12 forks source link

LEDs light up incorrectly on MSP-EXP4302ET #136

Open ghost opened 2 years ago

ghost commented 2 years ago

Expected result:

If RED_LED is used, I expect the LED at position D2 (P1.6) to light up and with GREEN_LED the one at D1 (P1.0).

Actual result:

The result is flipped around; green drives the red LED and red drives the green LED.

List the steps to reproduce the problem.

Upload the Blink.ino example from Energia.

Solution(?)

Change the LED definitions in variants/MSP-EXP430G2ET/pins_energia.h around as shown in the screenshot below

image

rei-vilo commented 2 years ago

Traditionally, the LED on pin P1.0 was red but, for an unknown reason, the LaunchPad MSP432-ET decided otherwise.