import RPi.GPIO as GPIO
import time


class Motor(object):

    def __init__(self, id: int, location: str):
        self.id: int = id
        self.location: str = location
        self.output: int = 0
        GPIO.setmode(GPIO.BOARD)
        GPIO.setup(self.id, GPIO.OUT)

    def drive(self, power: int):
        pass

    def show_alive(self):
        for i in range(100):
            GPIO.output(7, True)
            time.sleep(0.1)

    def get_location(self):
        return self.location

9195aa21af0ca4c71689b6425b5e58eeaa601da3
<mask token>


class Motor(object):

    def __init__(self, id: int, location: str):
        self.id: int = id
        self.location: str = location
        self.output: int = 0
        GPIO.setmode(GPIO.BOARD)
        GPIO.setup(self.id, GPIO.OUT)

    def drive(self, power: int):
        pass
    <mask token>
    <mask token>

<mask token>


class Motor(object):

    def __init__(self, id: int, location: str):
        self.id: int = id
        self.location: str = location
        self.output: int = 0
        GPIO.setmode(GPIO.BOARD)
        GPIO.setup(self.id, GPIO.OUT)

    def drive(self, power: int):
        pass

    def show_alive(self):
        for i in range(100):
            GPIO.output(7, True)
            time.sleep(0.1)
    <mask token>

<mask token>


class Motor(object):

    def __init__(self, id: int, location: str):
        self.id: int = id
        self.location: str = location
        self.output: int = 0
        GPIO.setmode(GPIO.BOARD)
        GPIO.setup(self.id, GPIO.OUT)

    def drive(self, power: int):
        pass

    def show_alive(self):
        for i in range(100):
            GPIO.output(7, True)
            time.sleep(0.1)

    def get_location(self):
        return self.location

import RPi.GPIO as GPIO
import time


class Motor(object):

    def __init__(self, id: int, location: str):
        self.id: int = id
        self.location: str = location
        self.output: int = 0
        GPIO.setmode(GPIO.BOARD)
        GPIO.setup(self.id, GPIO.OUT)

    def drive(self, power: int):
        pass

    def show_alive(self):
        for i in range(100):
            GPIO.output(7, True)
            time.sleep(0.1)

    def get_location(self):
        return self.location
