#pragma once

// Button
#define BUTTON_PIN 3

// Service
#define SERVICE_HARDRESET_DURATION_MS 5000ul
#define SERVICE_BRIGHTNESS_UPDATE_ENABLED TRUE
#define SERVICE_BRIGHTNESS_PIN 3
#define SERVICE_BRIGHTNESS_UPDATE_DELAY_MS 500ul
#define SERVICE_HITPOINTS_HALF 1
#define SERVICE_HITPOINTS_FULL 2

// LCD Display
#define LCD_PIN_RS 7
#define LCD_PIN_EN 8
#define LCD_PIN_D4 9
#define LCD_PIN_D5 10
#define LCD_PIN_D6 11
#define LCD_PIN_D7 12
#define LCD_ROWS_NUM 16
#define LCD_COLS_NUM 2

// LED Ring
#define LEDRING_PIN 5
#define LEDRING_COUNT 60
#define LEDRING_START_NUM 30
#define LEDRING_START_DELAY_MS 500ul
#define LEDRING_ANIMATION_DELAY_MS 250ul
#define LEDRING_SPEED_FACTOR 0.9f

// Buzzer
#define GAMEBUZZ_PIN 2
#define GAMEBUZZ_DELAY_MS 100ul

// Player
#define PLAYER_TOTLIVES 3
#define PLAYER_HIGHSCORE_EEPROM_ADDR 0x00