Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*****************************************************************************************************
* 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
/* =================================== */
/* Resolution */
/* =================================== */
#define ADC_RES 1024
/* Buffer len */
#define DEFAULT_BUFFER_LEN 2560
#define COMBINATION_LEN 3
#endif