Other Parts Discussed in Thread: LAUNCHXL-F28069M
Hi,
I am using the LAUNCHXL-F28069M with InstaSPIN and just noticed a weird thing: When I call HAL_turnLedOn(), the specified LED turns off. When I call HAL_turnLedOff(), it turns on. That is, it behaves inverted to what is expected.
Looking at the function definitions, they are just
#define HAL_turnLedOff HAL_setGpioLow #define HAL_turnLedOn HAL_setGpioHigh
I could not find a documentation for this, is it correct that the LEDs are turned on by setting the GPIOs low? If yes, I guess this is a bug in InstaSPIN (wrong defines of the LED-functions). If no: any idea where I could have messed it up so that it behaves in this counter-intuitive way?
Best, Felix