can i measure output currant on an output pin

Berry good advice given here. You should first be reading datasheets and anticipating the range of your current draw, though.