Hi there,
I just want to try to blink a single led (gosh) and can't get this to work even with the demo within the connectivity software (with the SDK 2.0 inside i guess).
Ok, so if i build the project gpio_led_outpute_frdmkw41z the led is blinking as expected. But if i do the same things in my own project it didn't. I maybe miss something here.
I did create a new project with the Kinetis SDK 2.x Project wizard (link to the sdk2.0 inside the folder of the connectivity software), and simply did exactly the same things with the GPIO:
// Define the init structure for the output LED pin
gpio_pin_config_t led_config = {kGPIO_DigitalOutput, 0,};
// Init the output
GPIO_PinInit(BOARD_LED_GPIO, BOARD_LED_GPIO_PIN, &led_config);
while1{
//toggle it with some delay
delay();
GPIO_TogglePinsOutput(BOARD_LED_GPIO, 1u << BOARD_LED_GPIO_PIN);
};
I tried everything. Even to change with the define on board.h (LED_RED_INIT(), LED_RED_TOGGLE().
The thing is: It's working very well with the demo but not with my project despite it's exactly the same include define etc.. (copy pasted!!)
Any one of you have an idea? Maybe i miss a configuration somewhere?
Sorry for my english.