Minh Nguyen / Definitions
Revision:
0:0c5c2cbf330a
Child:
1:f058cf4e422a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PinAssignment.h	Mon Mar 08 18:09:21 2021 +0000
@@ -0,0 +1,27 @@
+#ifndef PINASSIGNMENT_H
+#define PINASSIGNMENT_H
+
+//Anemometers
+#define PIN_ANEMOMETER              A0
+
+//Accelerometers
+#define PIN_ACCEL_PANEL             D0
+#define PIN_ACCEL_R1                D1
+#define PIN_ACCEL_R2                D2
+
+//Buttons
+#define PIN_BTFN                    D3          //FN Button
+#define PIN_BTINC                   D4          //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                     PTE24
+#define PIN_SCL                     PTE25
+
+#endif
\ No newline at end of file