Skip to content

Instantly share code, notes, and snippets.

@fisherds
Created October 30, 2024 12:11
Show Gist options
  • Select an option

  • Save fisherds/d1b27fc768b194201772bb019cc44ab9 to your computer and use it in GitHub Desktop.

Select an option

Save fisherds/d1b27fc768b194201772bb019cc44ab9 to your computer and use it in GitHub Desktop.
Exam 2 Fall 2024-2025 defines
// Pin 10 - Left LED Orange
#define REG_DDR_LED_ORANGE DDR_
#define REG_PORT_LED_ORANGE PORT_
#define BIT_LED_ORANGE _
// Pin 3 - Left Pushbutton Orange
#define REG_DDR_BUTTON_ORANGE DDR_
#define REG_PORT_BUTTON_ORANGE PORT_
#define REG_PIN_BUTTON_ORANGE PIN_
#define BIT_BUTTON_ORANGE _
// Pin 9 - Right LED Blue
#define REG_DDR_LED_BLUE DDR_
#define REG_PORT_LED_BLUE PORT_
#define BIT_LED_BLUE _
// Pin 2 - Right Pushbutton Blue
#define REG_DDR_BUTTON_BLUE DDR_
#define REG_PORT_BUTTON_BLUE PORT_
#define REG_PIN_BUTTON_BLUE PIN_
#define BIT_BUTTON_BLUE _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment