|
Serial Musical Organ 1.0
Buzzer controller and musical organ
|
Pin mappings for BUZZER output. More...
Macros | |
| #define | BUZZER_DDR DDRB |
| Data Direction Register for BUZZER pin. | |
| #define | BUZZER_PIN PB0 |
| BUZZER pin number within its port. | |
| #define | BUZZER_PORT PORTB |
| Output port register for BUZZER pin. | |
Pin mappings for BUZZER output.
| #define BUZZER_DDR DDRB |
Data Direction Register for BUZZER pin.
Defines which port's DDR register controls the BUZZER pin. Typically DDRB for Port B, DDRC for Port C, or DDRD for Port D.
Definition at line 31 of file pinDefines.h.
| #define BUZZER_PIN PB0 |
BUZZER pin number within its port.
Pin number (0-7) for the BUZZER connection. PB0 means Pin 0 of Port B.
Definition at line 42 of file pinDefines.h.
| #define BUZZER_PORT PORTB |
Output port register for BUZZER pin.
Defines which port register controls the BUZZER pin's output state. Used to set the pin HIGH or LOW to drive the BUZZER.
Definition at line 52 of file pinDefines.h.