Skip to content

Commit

Permalink
Move to Wemos D1 mini hardware
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phord committed Jan 24, 2022
1 parent 7a3624d commit e859bc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BUILD_DIR = ../build
BOARD = esp8266:esp8266:oak
BOARD = esp8266:esp8266:d1_mini

# Serial uploads
UPLOAD_PORT = /dev/ttyUSB1
Expand Down
14 changes: 7 additions & 7 deletions src/JarvisDesk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e859bc3

Please sign in to comment.