Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Arnov Sharma
Published © MIT

Ghost Themed Headphone Stand

Remember Ghost from PACMAN? This headphone stand is themed after him.

BeginnerFull instructions provided1 hour109
Ghost Themed Headphone Stand

Things used in this project

Hardware components

Seeed Studio XIAO ESP32S3 Sense
Seeed Studio XIAO ESP32S3 Sense
×1

Hand tools and fabrication machines

Seeed Studio Fusion PCB/PCBA
Seeed Studio Fusion PCB/PCBA

Story

Read more

Custom parts and enclosures

Fusion360File

Code

code

C/C++
int led1Pin = D0;
int led2Pin = D1;

// Set up the initial state of the LEDs
void setup() {
  pinMode(led1Pin, OUTPUT);
  pinMode(led2Pin, OUTPUT);
}

// Blink the LEDs one after the other
void loop() {
  // Blink LED 1
  digitalWrite(led1Pin, HIGH);
  delay(1000); // 1000 milliseconds (1 seconds) on
  digitalWrite(led1Pin, LOW);
  delay(1000); // 1000 milliseconds (1 seconds) off

  // Blink LED 2
  digitalWrite(led2Pin, HIGH);
  delay(1000); // 1000 milliseconds (1 seconds) on
  digitalWrite(led2Pin, LOW);
  delay(1000); // 1000 milliseconds (1 seconds) off
}

Credits

Arnov Sharma
329 projects • 334 followers
Just your average MAKER
Contact

Comments

Please log in or sign up to comment.