示例#1
0
    def __init__(self,port="/dev/ttyUSB0",baud=57600):
        """ Configure the Raspberry GPIOs
        :rtype : None
        """
        self.spi = SPIBridge(port,baud)

        # blink 2 times to signal the board is set up
        self.blink(.1, 2)