diff --git a/1D_pongESP32/1D_pongESP32.ino b/1D_pongESP32/1D_pongESP32.ino index 4ff10df..b23c168 100644 --- a/1D_pongESP32/1D_pongESP32.ino +++ b/1D_pongESP32/1D_pongESP32.ino @@ -16,9 +16,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#include +#include "Adafruit_NeoPixel.h" #include "notes.h" -#include "pins_arduino.h" +#include "pin-names.h" //DIO #define GPIO23 23 diff --git a/1D_pongESP32/pin-names.h b/1D_pongESP32/pin-names.h new file mode 100644 index 0000000..8ccd563 --- /dev/null +++ b/1D_pongESP32/pin-names.h @@ -0,0 +1,19 @@ +#include "pins_arduino.h" + +//DIO +#define GPIO23 23 +#define GPIO22 22 +#define GPIO18 18 // SPI CLK +#define GPIO19 19 +#define GPIO21 21 + +//ADIO +#define GPIO25 25 +#define GPIO26 26 +#define GPIO27 27 +#define GPIO32 32 +#define GPIO33 33 +#define GPIO34 34 +#define GPIO35 35 +#define GPIO36 36 +#define GPIO39 39