This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> | |
| void setup() { | |
| Serial.begin(115200); | |
| delay(500); | |
| Serial.println(); | |
| Serial.print("MAC address: "); | |
| Serial.println(WiFi.macAddress()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int tonePin = 2; | |
| int musicSelectA = 3; | |
| int musicSelectB = 4; | |
| void musicGame1() { | |
| tone(tonePin, 369, 135); | |
| delay(153); | |
| tone(tonePin, 554, 135); | |
| delay(153); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <SPI.h> | |
| #include <ESP8266WiFi.h> | |
| #include <espnow.h> | |
| #include <Wire.h> | |
| #include <TFT_eSPI.h> | |
| #include <SPI.h> | |
| #include "fighterSprites.h" | |
| #include "Wire.h" | |
| #include <MPU6050_light.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Adafruit_GFX.h> // Core graphics library | |
| #include <Adafruit_ST7735.h> // Hardware-specific library for ST7735 | |
| #define TFT_CS 10 | |
| #define TFT_RST 9 | |
| #define TFT_DC 8 | |
| #define A 5 | |
| #define B 6 | |
| #define C 7 |