Arnov Sharma
Published © MIT

LattePanda Delta Breakout Board

Made a breakout board for Lattepanda Delta for using its onboard Atmega32U Microcontroller.

BeginnerFull instructions provided1 hour325
LattePanda Delta Breakout Board

Things used in this project

Hardware components

LattePanda 3 Delta
LattePanda 3 Delta
×1
LED (generic)
LED (generic)
×5

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

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

Story

Read more

Schematics

SCH

Code

code

C/C++
int pinsCount=5;                        // declaring the integer variable pinsCount
int pins[] = {D0,D1,D2,D3,D4};          // declaring the array pins[]


void setup() {
  pinMode(D0, OUTPUT);
  pinMode(D1, OUTPUT);
  pinMode(D2, OUTPUT);
  pinMode(D3, OUTPUT);
  pinMode(D4, OUTPUT);
                    
}

 
void loop() {
  for (int i=0; i<pinsCount; i=i+1){    // chasing right
    digitalWrite(pins[i], HIGH);         // switching the LED at index i on
    delay(500);                          // stopping the program for 100 milliseconds
    digitalWrite(pins[i], LOW);          // switching the LED at index i off
  }
  for (int i=pinsCount-1; i>0; i=i-1){   // chasing left (except the outer leds)
    digitalWrite(pins[i], HIGH);         // switching the LED at index i on
    delay(500);                          // stopping the program for 100 milliseconds
    digitalWrite(pins[i], LOW);          // switching the LED at index i off
  }

}

Credits

Arnov Sharma
352 projects • 360 followers
I'm Arnov. I build, design, and experiment with tech—3D printing, PCB design, and retro consoles are my jam.

Comments