// ============================================================
//  Smart Pill Reminder - settings you may need to change
// ============================================================
#pragma once

// ---- Home WiFi (leave "" to always use the device's own WiFi) ----
#define WIFI_SSID      "YourHomeWiFi"
#define WIFI_PASSWORD  "YourWiFiPassword"

// ---- The device's own WiFi, used when home WiFi is not available ----
//      (science fair!)  Connect the phone to it and open http://192.168.4.1
#define AP_SSID        "PillReminder"
#define AP_PASSWORD    "pills1234"      // at least 8 characters

// ---- Time zone (Jordan = UTC+3 all year) ----
#define TIME_ZONE      "<+03>-3"

// ---- Pins (ESP32 DevKit V1, 30 pins) ----
#define PIN_IN1        25   // ULN2003 IN1
#define PIN_IN2        26   // ULN2003 IN2
#define PIN_IN3        32   // ULN2003 IN3
#define PIN_IN4        33   // ULN2003 IN4
#define PIN_SDA        21   // LCD SDA + DS3231 clock SDA (shared I2C bus)
#define PIN_SCL        22   // LCD SCL + DS3231 clock SCL
#define PIN_MP3_TX     17   // ESP32 TX2 -> 1k resistor -> DFPlayer RX
#define PIN_MP3_RX     16   // ESP32 RX2 <- DFPlayer TX
#define PIN_HOME       18   // limit switch (other leg to GND)
#define PIN_TILT       19   // full-tilt limit switch NO (its C leg to GND)
#define PIN_LED        2    // blue LED on the ESP32 board

// The full-tilt switch connects GPIO19 to GND while the cup is at its stop.
#define TILT_SEEN_LEVEL LOW

// ---- Carousel ----
#define SLOTS          15   // 1 empty HOME slot + 14 doses (must match the 3D model)
