Closed ghost closed 7 years ago
Any testing done for this one?
I tried that
gpio_init(GPIO_AN);
uint8_t dir = 0;
gpio_get_direction(GPIO_AN, &dir);
if (dir == GPIO_INPUT)
leds_set(LED1);
And it worked.
I have no tried yet for all pins & output.
I'll merge it in and do testing before merging dev to master