Serial Musical Organ 1.0
Buzzer controller and musical organ
Loading...
Searching...
No Matches
Macros
pinDefines.h File Reference

Hardware pin mapping for BUZZER/buzzer output. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.
 

Detailed Description

Hardware pin mapping for BUZZER/buzzer output.

Author
Roybel Carbonell Camejo
Date
2026-04-28

Maps the BUZZER/buzzer to specific microcontroller pins. Centralizes pin definitions for easy hardware changes.

Note
Modify these definitions if BUZZER is connected to different pins
Warning
Ensure pin configuration matches actual hardware connections

Definition in file pinDefines.h.