Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. board_init();
  2. gpio_enable_pin_pull_up(AVR32_PIN_PA04);
  3. GPIO_DIR_INPUT(AVR32_PIN_PA04);
  4.  
  5. gpio_enable_pin_pull_up(AVR32_PIN_PA05);
  6. GPIO_DIR_INPUT(AVR32_PIN_PA06);
  7.  
  8. if (gpio_get_pin_value(AVR32_PIN_PA00) == true)
  9. {
  10.  
  11. }
  12.  
  13.  
  14. /* Insert application code here, after the board has been initialized. */
Add Comment
Please, Sign In to add comment