Merge remote-tracking branch 'origin/MotorControl' into MotorControl

This commit is contained in:
Piv
2019-09-29 19:01:18 +09:30
3 changed files with 7 additions and 8 deletions

6
MotorControl/MotorServer.py Normal file → Executable file
View File

@@ -6,8 +6,8 @@ from concurrent import futures
import grpc
from . import motorService_pb2
from . import motorService_pb2_grpc
import motorService_pb2
import motorService_pb2_grpc
from MotorControl.gpiozero.motor_session import Motor
servo_pin = 18
@@ -66,4 +66,4 @@ run = True
while run:
inp = input('Please press q to stop the server')
if inp == 'q' or inp == 'Q':
run = False
run = False