def cleanup(self, pin=None):
if pin is None:<EOL><INDENT>self.bbio_gpio.cleanup()<EOL><DEDENT>else:<EOL><INDENT>self.bbio_gpio.cleanup(pin)<EOL><DEDENT>
Clean up GPIO event detection for specific pin, or all pins if none 
        is specified.