Ingo Lohs
Published © GPL3+

MyGemma v2 - Unboxing

Using Adafruit Gemma to creat wearable clothings

BeginnerProtip1 hour542
MyGemma v2 - Unboxing

Things used in this project

Hardware components

Adafruit Gemma Sequin Starter Pack
×1

Software apps and online services

Arduino IDE
Arduino IDE
Device Gemma is not available in the Arduino WebIDE - use offline IDE

Story

Read more

Code

introduction example "Blink" an Sequel with Gemma

C/C++
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.

  To upload to your Gemma:
  1) Select the proper board from the Tools->Board Menu (Arduino Gemma if
     teal, Adafruit Gemma if black)
  2) Select the uploader from the Tools->Programmer ("Arduino Gemma" if teal, 
   "USBtinyISP" if black Gemma)
  3) Plug in the Gemma into USB, make sure you see the green LED lit
  4) For windows, make sure you install the right Gemma drivers
  5) Press the button on the Gemma/Trinket - verify you see
     the red LED pulse. This means it is ready to receive data
  6) Click the upload button above within 10 seconds
*/
 
int led = 1; // blink 'digital' pin 1 - AKA the built in red LED
int seq = 2;

// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);
  pinMode(seq, OUTPUT);

}

// the loop routine runs over and over again forever:
void loop() {
    digitalWrite(led, HIGH); 
    digitalWrite(seq, HIGH);
    delay(3000);
    digitalWrite(led, LOW);
    digitalWrite(seq, LOW);
    delay(3000);
}

Credits

Ingo Lohs

Ingo Lohs

182 projects • 194 followers
I am well over 50 years and come from the middle of Germany.

Comments