- Wed Oct 28, 2015 5:03 pm
#32486
Thank you martin! You were exactly the person I thought of when I posted this question (you recommended the MCP23017 in the first thread I posted on this forum a while back... I've come a ways since then, but I'm still basically figuring everything out step by step)
.
I really really appreciate it, I'll check out the library!
Also, if you read this, another stupid question that I'll find out soon enough and I think I already know but I'd like to confirm: In my use case I'll be powering 8 LEDs (10mA roughly each, which I believe is fine for the mcp23017), but I'm wondering where I should get "power" from. Can I just hook up Vcc and Ground from the esp8266? I don't want to "steal" power from the esp8266, or run too much current "through" the chip, but if I use the Vcc and Ground pins on the 8266 I'm basically just "sharing" power with it, is that correct? So assuming my power supply can handle the current draw (which in theory shouldn't be a problem as it's rated to 1A), that should be OK? Does this make sense/is it true?
Thanks again!