Wire.pins(0, 2);
before the call to mcp.begin().
Explore... Chat... Share...
Moderator: igrr
Wire.pins(0, 2);
shoelessone wrote: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?
shoelessone wrote:Bonus question: Do I have to set the GPIO 0 and GPIO 2 pins in any special way in my code?
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]