Arnov Sharma
Published © GPL3+

Attack on titan Military Regiment Badge

Made yet another PCB Badge themed on AOT's Military Regiment

BeginnerFull instructions provided1 hour391
Attack on titan Military Regiment Badge

Things used in this project

Hardware components

Microchip attiny13A
×1
PCBWay Custom PCB
PCBWay Custom PCB
×1
Arduino Nano R3
Arduino Nano R3
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

sch

Code

BLINK for D0

C/C++
void setup() {
  pinMode(0, OUTPUT);
}


void loop() {
  digitalWrite(0, HIGH);    
  delay(1000);                       
  digitalWrite(0, LOW);   
  delay(1000);                      
}

Fade for D0

C/C++
int led = 0;          
int brightness = 0;   
int fadeAmount = 5;   


void setup() {
  
  pinMode(led, OUTPUT);
}


void loop() {

  analogWrite(led, brightness);


  brightness = brightness + fadeAmount;


  if (brightness <= 0 || brightness >= 255) {
    fadeAmount = -fadeAmount;
  }
 
  delay(30);
}

Credits

Arnov Sharma

Arnov Sharma

269 projects • 275 followers
Just your average MAKER

Comments