Hi all !
I would like to drive optocoupler with GPIO pins and what concerns me is how many mA can port give me.
Reading datasheet p.367 at top of the page:
DC Current per I/O Pin ......... 40.0mA
DC Current VCC and GND Pins..... 200.0mA
Optocoupler can be driven in 2 ways, like in picture.
I think that 2nd pitcure(inverting) is better way to do it.
So GPIO pin can give and lets say receive 40 mA?
Thank you !