Skip to content

Instantly share code, notes, and snippets.

@dalewilson-eetech
dalewilson-eetech / AAC-Project-Motion-Color-Game-Console-MAC.ino
Created October 3, 2024 14:09
All About Circuits Project - Retro Handheld Gaming Console with Motion Control and an LCD - MAC Address Finder
#include <ESP8266WiFi.h>
void setup() {
Serial.begin(115200);
delay(500);
Serial.println();
Serial.print("MAC address: ");
Serial.println(WiFi.macAddress());
@dalewilson-eetech
dalewilson-eetech / AAC-Project-Motion-Color-Game-Console-Audio.ino
Created October 3, 2024 14:06
All About Circuits Project - Retro Handheld Gaming Console with Motion Control and an LCD - Audio
int tonePin = 2;
int musicSelectA = 3;
int musicSelectB = 4;
void musicGame1() {
tone(tonePin, 369, 135);
delay(153);
tone(tonePin, 554, 135);
delay(153);
@dalewilson-eetech
dalewilson-eetech / AAC-Project-Motion-Color-Game-Console.ino
Created October 3, 2024 14:04
All About Circuits Project - Retro Handheld Gaming Console with Motion Control and an LCD
#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>
@dalewilson-eetech
dalewilson-eetech / AAC-Project-Resistor-Color-Code-Calculator.ino
Created September 21, 2024 21:47
All About Circuits Project - Resistor Color Code Calculator and Ohmmeter Using Arduino Uno
#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