from pybricks.hubs import TechnicHub
from pybricks.pupdevices import Motor
from pybricks.parameters import Button, Color, Direction, Port, Side, Stop
from pybricks.robotics import DriveBase
from pybricks.tools import wait, StopWatch

#GBC 41 Power Pit Mania - Hub2
#To controll the GBC Ball Dozer with your phone you have to use the LEGO Powered Up App and chose the default car controllers like the batmobile
#The code below is only for powering Hub 2 with the single motor
hub = TechnicHub()

#Initialize motors
motor_maindrive = Motor(Port.A) #Yellow

#Start motors
motor_maindrive.run(1000)

