Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pins.h
00001 #ifndef PINS_H_ 00002 #define PINS_H_ 00003 #include "mbed.h" 00004 00005 // MOTOR0 (J1) 00006 #define M0_PWM P2_0 00007 #define M0_DIR1 P4_29 00008 #define M0_DIR2 P4_28 00009 #define M0_ENCA P0_7 00010 #define M0_ENCB P0_6 00011 00012 // MOTOR1 (J4) 00013 #define M1_PWM P2_1 00014 #define M1_DIR1 P0_9 00015 #define M1_DIR2 P0_8 00016 #define M1_ENCA P2_6 00017 #define M1_ENCB P2_7 00018 00019 // MOTOR2 (J5) 00020 #define M2_PWM P2_2 00021 #define M2_DIR1 P0_15 00022 #define M2_DIR2 P0_16 00023 #define M2_ENCA P0_17 00024 #define M2_ENCB P0_18 00025 00026 // MOTOR3 (J6) 00027 #define M3_PWM P2_3 00028 #define M3_DIR1 P0_19 00029 #define M3_DIR2 P0_20 00030 #define M3_ENCA P0_21 00031 #define M3_ENCB P0_22 00032 00033 // LEDS 00034 #define LED_1 P1_18 00035 #define LED_2 P1_19 00036 #define LED_3 P1_22 00037 00038 // COM1 (J9) 00039 #define COM1_TX P0_0 00040 #define COM1_RX P0_1 00041 00042 // COM2 (J11) 00043 #define COM2_TX P0_10 00044 #define COM2_RX P0_11 00045 00046 // SPI (J10) 00047 #define SPI_MOSI P1_24 00048 #define SPI_MISO P1_23 00049 #define SPI_SSEL P1_21 00050 #define SPI_SCK P1_20 00051 00052 // ISOLATED_IO (J8) 00053 #define ISO_PWM5 P2_4 00054 #define ISO_PWM6 P2_5 00055 #define ISO_OUT P0_4 00056 #define ISO_IN P0_5 00057 00058 #endif
Generated on Fri Jul 15 2022 01:47:57 by
1.7.2