Reddit Reddit reviews EDGELEC 200pcs 10 Colors x 20pcs 3mm LED Light Emitting Diode Assorted Kit 29mm Lead Clear Round Lamp White Red Blue Green Yellow UV Bright LEDs Bulb +300pcs Resistors for DC 6-12V Lights

We found 2 Reddit comments about EDGELEC 200pcs 10 Colors x 20pcs 3mm LED Light Emitting Diode Assorted Kit 29mm Lead Clear Round Lamp White Red Blue Green Yellow UV Bright LEDs Bulb +300pcs Resistors for DC 6-12V Lights. Here are the top ones, ranked by their Reddit score.

Industrial & Scientific
Electronic Components
Optoelectronic Products
Optoelectronic Lamps
LED Lamps
EDGELEC 200pcs 10 Colors x 20pcs 3mm LED Light Emitting Diode Assorted Kit 29mm Lead Clear Round Lamp White Red Blue Green Yellow UV Bright LEDs Bulb +300pcs Resistors for DC 6-12V Lights
Product Overview: 100 pcs LED Diodes + 300 pcs ResistorsProduct Features: 10 Colors (20 pcs For Each Color ) / 3mm Round Clear Lens / 29mm Long LeadProduct Parameters: Red,Yellow,Orange,Yellow-Green: DC 2.0V; Other Colors: DC 3.0V (IF=20mA) / 0.06 Watts / 2pin / DIP LEDsProduct Parameters: Luminance Brighter Up To +20% / 30° Viewing Angle / Single LED Diodes Wight: 0.16gAccessories: 200pcs 430ohm + 100pcs 470ohm (For DC 6-12V) 1/4 Watt Metal Film Resistors Included / ±1% Tolerance
Check price on Amazon

2 Reddit comments about EDGELEC 200pcs 10 Colors x 20pcs 3mm LED Light Emitting Diode Assorted Kit 29mm Lead Clear Round Lamp White Red Blue Green Yellow UV Bright LEDs Bulb +300pcs Resistors for DC 6-12V Lights:

u/M-0-P · 1 pointr/olkb

I used these LEDs:

https://www.amazon.com/gp/product/B0785DLY5T/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

​

I then wired the long wire to a pin in the Teensy. he short wire I soldered to a resistor. The resisters were all soldered to 1 wire than ran to the GND pin on the teensy. Here is my LED code:

​


void matrix_init_user(void) {
DDRD |= (1 << PD7); //init D7 (Blue)
PORTD &= ~(1<<PD7); //turn off D7
DDRB |= (1 << PB5); //init B5 (Red)
PORTB &= ~(1<<PB1); //turn off B5
DDRB |= (1 << PB6); //init B6 (Green)
PORTB &= ~(1<<PB6); //turnoff B6
DDRD |= (1 << PD5); //init D5 (Yellow Green)
PORTD &= ~(1<<PD5); //turn off D5
DDRC |= (1 << PC7); //init C7 (Yellow)
PORTC &= ~(1<<PC7); //turnoff C7
}

uint32_t layer_state_set_user(uint32_t state)
{

// if on layer _NAS, turn on D7 LED, otherwise off.
if (biton32(state) == _NAS || biton32(state) ==_NS2) {
PORTD |= (1<<PD7);
} else {
PORTD &= ~(1<<PD7);
}


// if on layer _ACT, turn on B5 LED, otherwise off.
if (biton32(state) == _ACT) {
PORTB |= (1<<PB5);
} else {
PORTB &= ~(1<<PB5);
}

// if on layer _NUM, turn on B5 LED, otherwise off.
if (biton32(state) == _GUI) {
PORTB |= (1<<PB6);
} else {
PORTB &= ~(1<<PB6);
}


return state;
}

//Lock Key Functionality

void BeginLock(void)
{
lock_active = true;
lock_searching = true;
PORTD |= (1<<PD5);
}

void LockKey(uint16_t keycode)
{
locked_key = keycode;
register_code(keycode);
lock_searching = false;
PORTD &= ~(1<<PD5);
PORTC |= (1 << PC7);
}
void EndLock(uint16_t keycode)
{
lock_active = false;
unregister_code(keycode);
locked_key = 0;
PORTD &= ~(1<<PD5);
PORTC &= ~(1<<PD7);
}

bool process_record_user(uint16_t keycode, keyrecord_t *record)
{
uprintf("KL: kc: %u, col: %u, row: %u, pressed: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed);
if(keycode == KEY_LCK) // lock key is pressed.
{
if(record->event.pressed == 1) //Do nothing special on key down
{
return true;
}
else //On key up, toggle on/off
{
if(lock_active == true) //If lock is active then turn off
{
EndLock(locked_key);
return false;
}
else //if lock off, turn on
{
BeginLock();
return false;
}
}
}
else if(lock_active == true) //Lock is active, need to execute steps that don't involve lock key
{
if(lock_searching == true && keycode <0xFF && record->event.pressed == 0 )
//Lock key pressed, which turned on search. Key needs to be valid. On key up, set as locked key
{
LockKey(keycode);

return false;
}
else if (lock_searching == false && keycode == locked_key) //if the key has already been set, ignore the button press
{
return false;
}
//if searching is false or its a quantum key, then continie on.
//if the locked key has already been set, a normal button push will add to the effect
else
{
return true;
}
}
else //Non-lock related keypresses
{
return true;
}
}

u/sarcasm_is_free · 1 pointr/rccars

Amazon.

Edit: should also note, I have them powered through a 12v BEC from an old quadcopter pdb but any 12v buck converter will work

EDGELEC 200pcs 10 Colors x 20pcs 3mm LED Light Emitting Diode Assorted Kit 29mm Lead Clear Round Lamp White Red Blue Green Yellow Purple/UV Ultra Bright LEDs Bulb +300pcs Resistors For DC 6-12V Lights https://www.amazon.com/dp/B0785DLY5T/ref=cm_sw_r_sms_apa_i_Nw1PDb57466VW