Code: Select all
/**************** LED_WHITE *************************/
gpio_reset_pin(LED_WHITE);
/* Set the GPIO as a push/pull output */
gpio_set_direction(LED_WHITE, GPIO_MODE_OUTPUT);
/* Set the GPIO level according to the state (LOW or HIGH)*/
gpio_set_level(LED_WHITE, 1);