From 9b603ca9f366ce9033b378bafa519fc82389d44e Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 12 Nov 2019 19:30:42 +0100 Subject: [PATCH] Removed old MCP23017 pin definitions. --- include/config.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/include/config.h b/include/config.h index 26bc1db..49f77ba 100644 --- a/include/config.h +++ b/include/config.h @@ -1,43 +1,6 @@ #pragma once #include -// Pins according to https://www.instructables.com/id/NodeMCU-ESP8266-Details-and-Pinout/ -// D0 = 16 -// D1 = 5 -// D2 = 4 -// D3 = 0 -// D4 = 2 -// D5 = 14 -// D6 = 12 -// D7 = 13 -// D8 = 15 -// A0 = 17 -// Other usable pins: -// 6, 7, 8, 11 not readable -// 1, 3, 6, 7, 8, 11 nor writable -> 1 (TX) and 3 (RX) can be used read-only -// 9 -> S2 -// 10 -> S3 -#define RX 3 -#define TX 1 - -// Pins for MCP23017 -#define GPA0 0 -#define GPA1 1 -#define GPA2 2 -#define GPA3 3 -#define GPA4 4 -#define GPA5 5 -#define GPA6 6 -#define GPA7 7 -#define GPB0 8 -#define GPB1 9 -#define GPB2 10 -#define GPB3 11 -#define GPB4 12 -#define GPB5 13 -#define GPB6 14 -#define GPB7 15 - #define SHOW_DEBUG //#define SHOW_TRACE #define FTP_DEBUG