# -*- coding: utf-8 -*-
import multiprocessing
import time
import robot,Main

def add():
    print("Add Başladı")
    while True:
        print (1)
        time.sleep(1)

def sud():
     print("Sud Başladı")
     while True:
        print(0)
        time.sleep(3)

if __name__ == '__main__':

    # p1 = multiprocessing.Process(name='Add', target=robot.autoMode)

    Main.go()
    print 'thread satrını geldi.'
    p2 = multiprocessing.Process(name='Sud', target=robot.souffleMode_threaded(""))




    # join() main programa geri verir dataları.
    # gives us the total running time -> time.time()-t


becd4eeaa829deaa1288e59016c2f914b69c2a90
# -*- coding: utf-8 -*-
import multiprocessing
import time
import robot,Main

def add():
    print("Add Başladı")
    while True:
        print (1)
        time.sleep(1)

def sud():
     print("Sud Başladı")
     while True:
        print(0)
        time.sleep(3)

if __name__ == '__main__':

    # p1 = multiprocessing.Process(name='Add', target=robot.autoMode)

    Main.go()
    print 'thread satrını geldi.'
    p2 = multiprocessing.Process(name='Sud', target=robot.souffleMode_threaded(""))




    # join() main programa geri verir dataları.
    # gives us the total running time -> time.time()-t

