What are the second LED and Second button definition on SAMV71 explained ultra?

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The following are the definitions for LED0 and SWITCH0

/* Using LED0 SAMV71-XPLAINED-ULTRA (PA23) */
#define EXAMPLE_LED_PORT (0)
#define EXAMPLE_LED_MASK ((1 << 23))

/* Using button SW0 on SAMV71-XPLAINED-ULTRA (PA9) */
#define EXAMPLE_BUTTON_PORT (0)
#define EXAMPLE_BUTTON_MASK ((1 << 9))

So now what are the definitions for LED1 and SWITCH1. How do I change the above lines to use LED1 and SWITCH1. LED0 is on pin PA23 and LED1 is on pin PC09 and SW1 is on pin PB12. Please let me know.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This ASF forum (stuck in the middle of all things "AVR"!) is probably the wrong pace to be asking ARM questions. This website has a whole "community" for ARM with its own set of fora - you'd be better off asking there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is no ARM section here : https://www.avrfreaks.net/forum Cant find the section in this page..

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0