hello there!
ever got short on GND or +3.3V pins?
of LEDcomponents with only normal leads and no urge to apply jumpwires??
i've been wanting to do the experiment a few time ago
but i recently executed the simple plan
i soldered a current limiting resistor to the short LEDlead (-) and left the long lead (+)
now i connected, two LED's to only GPIO's
the GND (-) (LOW) will be formed by a GPIO and the +3.3volts (HIGH) also a GPIO next to eachother
and so LED's can blink !
perhaps inspirering for you and your projects?
Blink
Turns an LED on for one second, then off for one second, repeatedly.
int outgnd1 = 13; //D7
int outon1 = 12; //D6
int outgnd2 = 14; //D5
int outon2 = 4; //D4
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(outgnd1, OUTPUT); //was D9 LOW is ON!
pinMode(outgnd2, OUTPUT);
pinMode(outon1, OUTPUT);
pinMode(outon2, OUTPUT);
Serial.begin(9600);
digitalWrite(outgnd1, LOW); // turn the LED on (HIGH is the voltage level)
digitalWrite(outgnd2, LOW);
}
// the loop function runs over and over again forever
void loop() {
Serial.println(LED_BUILTIN);
digitalWrite(outon1, LOW); // turn the LED on (HIGH is the voltage level)
digitalWrite(outon2, LOW);
delay(1000); // wait for a second
digitalWrite(outon1, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(outon2, HIGH);
delay(1000); // wait for a second
}

