Minh Nguyen / Definitions

PinAssignment.h

Committer:
khaiminhvn
Date:
2021-03-20
Revision:
13:ae228d1889da
Parent:
12:44294d4d7578
Child:
22:edac0101124d

File content as of revision 13:ae228d1889da:

#ifndef PINASSIGNMENT_H
#define PINASSIGNMENT_H

//Anemometers
#define PIN_ANEMOMETER              A0

//Accelerometers
#define PIN_ACCEL_PANEL             D11
#define PIN_ACCEL_R1                D10
#define PIN_ACCEL_R2                D2

//Buttons
#define PIN_BTFN                    D4          //FN Button
#define PIN_BTINC                   D3          //INC Button
#define PIN_BTDEC                   D5          //DEC Button

//Motor Driver
#define PIN_ENA                     D6
#define PIN_ENB                     D7
#define PIN_INTP                    D8          //Tie INT1 and INT3
#define PIN_INTN                    D9          //Tie INT2 and INT4

//I2C
#define PIN_SDA                     PTE25
#define PIN_SCL                     PTE24

//Temperature control
#define PIN_FAN                     A5
#define PIN_LM35                    A2          //Temperature Sensor
#endif