From 6fb0990182d0296ede598d3a80b91f9439457616 Mon Sep 17 00:00:00 2001 From: mifen <191615342@qq.com> Date: Sat, 22 Oct 2022 11:29:53 +0800 Subject: [PATCH] add pin note --- Microcontroller_Code/ESP8266/ESP8266.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Microcontroller_Code/ESP8266/ESP8266.ino b/Microcontroller_Code/ESP8266/ESP8266.ino index 3ea3bed..b2bb1b5 100644 --- a/Microcontroller_Code/ESP8266/ESP8266.ino +++ b/Microcontroller_Code/ESP8266/ESP8266.ino @@ -13,10 +13,10 @@ static const int N_SAMPLES = 300; // what pins to use, between 0 and 15 -static const int PIN0 = 4; -static const int PIN1 = 5; -static const int PIN2 = 12; -static const int PIN3 = 14; +static const int PIN0 = 4; // D2 +static const int PIN1 = 5; // D1 +static const int PIN2 = 12; // D6 +static const int PIN3 = 14; // D5 // unused pins should be tied to the ground static_assert(PIN0 >= 0 && PIN0 < 16, "");