Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- board_init();
- gpio_enable_pin_pull_up(AVR32_PIN_PA04);
- GPIO_DIR_INPUT(AVR32_PIN_PA04);
- gpio_enable_pin_pull_up(AVR32_PIN_PA05);
- GPIO_DIR_INPUT(AVR32_PIN_PA06);
- if (gpio_get_pin_value(AVR32_PIN_PA00) == true)
- {
- }
- /* Insert application code here, after the board has been initialized. */
Add Comment
Please, Sign In to add comment