/***************************************************************************************************** * PIN LAYOUT * This file is used by other classes to define the pins used for the hardware. *****************************************************************************************************/ #ifndef CONFIGURATION_H #define CONFIGURATION_H #include <Arduino.h> /* Runtime Configuration */ #define DELAY 0 /* Debug Options */ #define DEBUG 0 /* Serial Options */ #define BAUDRATE 115200 #define PING '1' /* =================================== */ /* Pin layout */ /* =================================== */ /* Motor Pins */ #define VIBRATION_PIN 28 /* Potentiometer Pins */ #define POT0_PIN A3 /* LED Pins */ #define LED_BUILTIN 13 /* SWITCH Pins */ #define SWITCH_PIN1 30 #define SWITCH_PIN2 32 #define SWITCH_PIN3 34 /* =================================== */ /* Resolution */ /* =================================== */ #define ADC_RES 1024 /* Buffer len */ #define DEFAULT_BUFFER_LEN 2560 #define COMBINATION_LEN 3 #endif