semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

Revision:
0:4ff8aeb3e4d1
Child:
1:2594a70c1ddd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/configurations/pinConfig.h	Fri Apr 02 05:24:49 2021 +0000
@@ -0,0 +1,56 @@
+#ifndef PINCONFIG_H_
+#define PINCONFIG_H_
+#include "mbed.h"
+#include "mbed_config.h"
+
+/* PORTA -------------------------------------------------------------------- */
+#define IMU_SCK          PA_5   // IMU
+#define IMU_MISO         PA_6   // IMU
+#define IMU_MOSI         PA_7   // IMU
+
+/* PORTB -------------------------------------------------------------------- */
+
+/* PORTC -------------------------------------------------------------------- */
+#define SONAR0_ECHO      PC_2   // SONAR(INT2)
+#define SONAR0_TRIG      PC_3   // SONAR
+#define PURIFIER_BR_PIN  PC_5   // MODULE
+#define PURIFIER_PWM_PIN PC_6   // MODULE
+
+/* PORTD -------------------------------------------------------------------- */
+#define SONAR3_TRIG      PD_1   // SONAR
+#define SONAR5_ECHO      PD_3   // SONAR(INT3)
+#define SONAR1_ECHO      PD_4   // SONAR(INT4)
+#define SONAR1_TRIG      PD_5   // SONAR
+#define SONAR2_ECHO      PD_7   // SONAR(INT7)
+#define SONAR10_ECHO     PD_11  // SONAR(INT11)
+
+
+/* PORTE -------------------------------------------------------------------- */
+#define SONAR2_TRIG      PE_3   // SONAR
+#define SONAR6_ECHO      PE_5   // SONAR(INT5)
+#define SONAR8_ECHO      PE_6   // SONAR(INT6)
+#define SONAR10_TRIG     PE_10  // SONAR
+#define UVC_PIN          PE_11  // MODULE
+#define IMU_NCS          PE_12  // IMU
+#define IMU_INT          PE_14  // IMU(INT14)
+
+/* PORTF -------------------------------------------------------------------- */
+
+#define SONAR3_ECHO      PF_0   // SONAR(INT0)
+#define SONAR6_TRIG      PF_2   // SONAR
+#define CHARGE_RELAYP    PF_3   // CHARGE
+#define ESTOP_PIN        PF_4   // ESTOP
+#define BT_RX            PF_6   // COM
+#define BT_TX            PF_7   // COM
+#define SONAR7_ECHO      PF_8   // SONAR(INT8)
+#define SONAR7_TRIG      PF_9   // SONAR
+#define CHARGE_RELAYN    PF_15  // CHARGE
+/* PORTG -------------------------------------------------------------------- */
+#define SONAR5_TRIG      PG_2   // SONAR
+#define SONAR4_ECHO      PG_9   // SONAR(INT9)
+#define SONAR9_ECHO      PG_10  // SONAR(INT10)
+#define SONAR4_TRIG      PG_12  // SONAR
+#define SONAR9_TRIG      PG_13  // SONAR
+#define SONAR8_TRIG      PG_15  // SONAR
+
+#endif /* PINCONFIG_H_ */
\ No newline at end of file