# =========================
# USER CONFIGURATION
# =========================

# Frequency of POLARITY signal in Hz (DUTY will be 2× this automatically)
FREQUENCY_HZ = 10.0  # Example: 5 Hz → DUTY = 10 Hz

# Duty cycle mode selection
# "FULL" - DUTY frequency = HIGH
# "HALF" - DUTY frequency = 2x POLARITY frequency (1:2 ratio)
DUTY_MODE = "FULL"  # Options: "FULL" or "HALF"

# Time settings in seconds
TRANSMIT_TIME = 60   # How long to transmit each cycle
PAUSE_TIME = 60       # How long to pause after each transmission

# GPIO Pin Assignments
PINS = {
    "ON_OFF": 13,      # Pin 33
    "DUTY": 6,         # Pin 31
    "POLARITY": 26,    # Pin 37
    "PPS": 17          # Pin 11
}

# GPS Serial Port
GPS_PORT = "/dev/ttyAMA0"
GPS_BAUD = 4800

# RTC I2C Settings (DS3231)
RTC_I2C_BUS = 1        # I2C bus number (usually 1 on Pi)
RTC_I2C_ADDRESS = 0x68 # DS3231 I2C address

# Default coordinates to use if GPS is unavailable
DEFAULT_LATITUDE = 00.0000
DEFAULT_LONGITUDE = 00.0000