I'm a little confused about open-drain outputs. In my case I have a microprocessor that will be running on a battery so I'm trying to save power. I have a few components, a sensor and a large draw light that draw a fair bit of power. I want to use the pin to turn power to them on and off. How do I go about that using the open-drain pin?
I'm more used to working with arduinos where I can just turn off the pin to disable the component and save power. How do I go about the same thing using an open-drain pin?
Thanks
I'm more used to working with arduinos where I can just turn off the pin to disable the component and save power. How do I go about the same thing using an open-drain pin?
Thanks