Files
ardugotchi/include/constants.hpp
T

16 lines
415 B
C++

#pragma once
/*
* A header file to store all the constants used in the project.
*/
#include <Arduino.h>
#define LCD_I2C_ADDRESS 0x27
#define LCD_COLS 20
#define LCD_ROWS 4
#define ACTION_INTERVAL 60000 // 1 minute
#define MAXIMUM_STAT 100
#define ANIMATION_FRAME_INTERVAL 1500 // Time in milliseconds between animation frames
#define DEBOUNCE_DELAY 50 // Debounce delay in milliseconds for the joystick button