Hi,
I would like to learn how to work with MQX. I am trying write basic example "Writing your first application AN3905".
I have problem in the function InitializeIO(); fopen function always return NULL. It is doesn't make sense continue.
What are reasons (What can be) to return NULL in the function fopen?
const uint_32 output_set[] =
{
LED_1 | GPIO_PIN_STATUS_0,
LED_2 | GPIO_PIN_STATUS_0,
LED_3 | GPIO_PIN_STATUS_0,
LED_4 | GPIO_PIN_STATUS_0,
GPIO_LIST_END
};
output_port = fopen("gpio:write", (char_ptr) &output_set);
Thank you.
Ondra