energia / msp430-lg-core

15 stars 12 forks source link

MSP430FR5994 GPIO pin 18 no longer works as an `OUPUT` #90

Closed rei-vilo closed 5 years ago

rei-vilo commented 5 years ago

The fix for #83 has created a new issue. On the MSP430FR5994 LaunchPad, GPIO pin 18 no longer works as an OUPUT. I haven't tested the other pins yet.

capture 2019-01-08 a 22 19 34

With the release previous to the fix for #83,

capture 2019-01-08 a 22 19 02

The minimalistic code is

const uint8_t EPD_FLASH_CS = 18;

void setup() 
{    
    pinMode(EPD_FLASH_CS, OUTPUT);
    digitalWrite(EPD_FLASH_CS, HIGH);    
}

void loop() 
{
    digitalWrite(EPD_FLASH_CS, LOW);
    delay(10);
    digitalWrite(EPD_FLASH_CS, HIGH);
    delay(10);
}
StefanSch commented 5 years ago

fixed in issue 83 branch