Unverified Commit 9971bda9 authored by Arya11111's avatar Arya11111 Committed by GitHub

Modify DFRobot pins_arduino.h file. (#521)

parent 6cb2bf70
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
// https://www.dfrobot.com // https://www.dfrobot.com
// Not pinned out // Not pinned out
#define PIN_LED (31u) #define PIN_LED (13u)
// Serial // UART0
#define PIN_SERIAL1_TX (0u) #define PIN_SERIAL1_TX (28u)
#define PIN_SERIAL1_RX (1u) #define PIN_SERIAL1_RX (29u)
// Not pinned out // UART1
#define PIN_SERIAL2_TX (31u) #define PIN_SERIAL2_TX (4u)
#define PIN_SERIAL2_RX (31u) #define PIN_SERIAL2_RX (5u)
// SPI // SPI
#define PIN_SPI0_MISO (0u) #define PIN_SPI0_MISO (0u)
...@@ -28,13 +28,18 @@ ...@@ -28,13 +28,18 @@
#define PIN_SPI1_SS (31u) #define PIN_SPI1_SS (31u)
// Wire // Wire
#define PIN_WIRE0_SDA (31u) #define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (31u) #define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (26u) #define PIN_WIRE1_SDA (2u)
#define PIN_WIRE1_SCL (27u) #define PIN_WIRE1_SCL (3u)
#define SERIAL_HOWMANY (2u) #define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (1u) #define SPI_HOWMANY (1u)
#define WIRE_HOWMANY (1u) #define WIRE_HOWMANY (2u)
#define __PIN_A0 (29u)
#define __PIN_A1 (28u)
#define __PIN_A2 (31u)
#define __PIN_A3 (31u)
#include "../generic/common.h" #include "../generic/common.h"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment