From e859bc3233684c0186226da7aab489438b025065 Mon Sep 17 00:00:00 2001 From: Phil Hord Date: Sun, 23 Jan 2022 18:22:21 -0800 Subject: [PATCH] Move to Wemos D1 mini hardware Changed the target board and pinouts for a Wemos D1 mini. This board fits into the same carrier board I originally built, but the GPIOs are all different and the board is flipped over in the other direction. --- Makefile | 2 +- src/JarvisDesk.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index ac973da..bd5cedd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BUILD_DIR = ../build -BOARD = esp8266:esp8266:oak +BOARD = esp8266:esp8266:d1_mini # Serial uploads UPLOAD_PORT = /dev/ttyUSB1 diff --git a/src/JarvisDesk.cpp b/src/JarvisDesk.cpp index 04f31a7..79e06cd 100644 --- a/src/JarvisDesk.cpp +++ b/src/JarvisDesk.cpp @@ -24,13 +24,13 @@ // 7 HS1 Handset control line 1 // 8 HS0 Handset control line 0 // -// Pinouts for ESP8266 Oak (which uses these "P" numbers) -#define HS0 P9 -#define HS1 P8 -#define HS2 P10 -#define HS3 P2 -#define HTX P4 -#define DTX P3 +// Pinouts for ESP8266 Wemos D1 mini +#define HS0 D5 +#define HS1 D0 +#define HS2 D6 +#define HS3 D1 +#define HTX D3 +#define DTX D2 extern AdafruitIO_WiFi io;