I want to turn on/off the following lights using an LPC810: These lights are powered using two AAA batteries. This would provide 3 volts. I do not have the lights yet, so I cannot measure the current draw. However, as the LPC810 only allows for a couple of milliamps on it's digital output, I think it would not be clever to push the current through the chip.
To solve this I'm thinking of hooking the lights up as follows:
This should turn on the lights when P1 and P2 go low, and turn them off when they go high.
Will this work? Will this be efficient, or will this result in quite a high current draw while the lights are off?
Am I reading the documentation correctly in that only 4 mA (I-oh) can be pulled from the pins, or can I simply hook up the positive side of the lights to P1 and P2?