Gemma Input PIN assignment

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
turnerpetra
 
Posts: 2
Joined: Sat Mar 26, 2016 11:58 am

Gemma Input PIN assignment

Post by turnerpetra »

Hello, I have an Adafruit Gemma v2 which the Input D1 pin seems to be shorted out or burnt from over soldering.

I've got a 60 led neopixel skinny attached that I know definitely works because I have another Gemma that when connected is working fine... but when this Gemma is connected the strip just goes solid white. I've tried attaching wire to the connector pad, removing solder, and it's just not happening.

I am able to upload BLINK via usb and it is working. I have some strip tests and other sketches but I am pretty positive the connection to the pin is

ok so what I'm hoping I can do is reassign the A1 or D0 pins to send the digital data to the LED strip.

I found this: https://learn.adafruit.com/introducing- ... rduino-ide

it seems like pinMode() & digitalWrite() & digitalRead() should help me somehow but I don't know how to use it...

so far, I have this at the top of my strandtest sketch:

Code: Select all

// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin as an input.
  pinMode(INPUT);
}
how should it go? will it go? is this even possible without messing with the bootloader?

thanks and cheers

User avatar
turnerpetra
 
Posts: 2
Joined: Sat Mar 26, 2016 11:58 am

Re: Gemma Input PIN assignment

Post by turnerpetra »

omgolly I figured it out

#define LED_PIN 0

*pats self on the back*

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”