Variable type for 8266 pins?
Posted: Thu Jul 20, 2017 7:07 pm
So, Arduino pins can be defined by an int variable, but what variable type would I use for the Dx notation of the 8266 in Arduino IDE?
Ex:
int pin = 14;
vs.
??? pin = D7;
Obviously I could just use the Arduino pin numbers, but for convenience it would be nice to use 8266 notation.
Ex:
int pin = 14;
vs.
??? pin = D7;
Obviously I could just use the Arduino pin numbers, but for convenience it would be nice to use 8266 notation.