def setup_pins(self, pins):
<EOL>for pin, value in iter(pins.items()):<EOL><INDENT>self.setup(pin, value)<EOL><DEDENT>
Setup multiple pins as inputs or outputs at once.  Pins should be a
        dict of pin name to pin type (IN or OUT).