update documentation
This commit is contained in:
parent
54320096fb
commit
3ef0fff256
6 changed files with 205 additions and 18 deletions
|
@ -9,12 +9,13 @@ Usage
|
|||
from compLib.Motor import *
|
||||
|
||||
def forward():
|
||||
for port in range(0, 4):
|
||||
Motor.power(port, 30);
|
||||
Motor.power(1, -30);
|
||||
Motor.power(2, 30);
|
||||
|
||||
|
||||
def backward():
|
||||
for port in range(0, 4):
|
||||
Motor.power(port, -30);
|
||||
Motor.power(1, 30);
|
||||
Motor.power(2, -30);
|
||||
|
||||
def main():
|
||||
print("hallo ich bin ein roboter beep buup")
|
||||
|
|
Reference in a new issue