@Wilberforce wow! Hadn't seen those before... (This is probably another thread, but does anyone have any, and have they tried flashing Espruino onto them?)
@user58511 I'm pretty sure you treat it like you'd treat an LED - so a 100 Ohm resistor in series would work great. I think 6V is the maximum voltage you can wire it up backwards at before it breaks (and also the maximum you can put into the diode).
With 100 Ohm resistors you're only really putting 15mA into the diode, so you could drive a whole load of them from the Pico without trouble. They will only switch 50mA on the other side though - so that's not going to drive anything very powerful.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Wilberforce wow! Hadn't seen those before... (This is probably another thread, but does anyone have any, and have they tried flashing Espruino onto them?)
@user58511 I'm pretty sure you treat it like you'd treat an LED - so a 100 Ohm resistor in series would work great. I think 6V is the maximum voltage you can wire it up backwards at before it breaks (and also the maximum you can put into the diode).
With 100 Ohm resistors you're only really putting 15mA into the diode, so you could drive a whole load of them from the Pico without trouble. They will only switch 50mA on the other side though - so that's not going to drive anything very powerful.