Minh Nguyen / Definitions

PinAssignment.h

Committer:
khaiminhvn
Date:
2021-03-19
Revision:
12:44294d4d7578
Parent:
8:fe66db7b00ef
Child:
13:ae228d1889da

File content as of revision 12:44294d4d7578:

#ifndef PINASSIGNMENT_H
#define PINASSIGNMENT_H

//Anemometers
#define PIN_ANEMOMETER              A1

//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