import subprocess
import json
from gpiozero import Servo
from time import sleep

def ManjiCamera4p3():

    p = subprocess.Popen("python main.py", shell=True,stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

    stdout_data, stderr_data = p.communicate(timeout=100)
    str = stdout_data.decode("utf-8")
    print (str)
    return json.loads(str)

def Move_Servo():
    servo = Servo(26)
    servo.max()
    sleep(.5)
    servo.min()
    sleep(.25)
    servo.max()

    


#if __name__ == '__main__':
#Move_Servo();
#print(ManjiCamera4p3());

a60e3cbefc13b3a8952d6a3fb3d12f3a0193c4ab
<mask token>

<mask token>


def ManjiCamera4p3():
    p = subprocess.Popen('python main.py', shell=True, stdin=subprocess.
        PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout_data, stderr_data = p.communicate(timeout=100)
    str = stdout_data.decode('utf-8')
    print(str)
    return json.loads(str)


<mask token>

<mask token>


def ManjiCamera4p3():
    p = subprocess.Popen('python main.py', shell=True, stdin=subprocess.
        PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout_data, stderr_data = p.communicate(timeout=100)
    str = stdout_data.decode('utf-8')
    print(str)
    return json.loads(str)


def Move_Servo():
    servo = Servo(26)
    servo.max()
    sleep(0.5)
    servo.min()
    sleep(0.25)
    servo.max()

import subprocess
import json
from gpiozero import Servo
from time import sleep


def ManjiCamera4p3():
    p = subprocess.Popen('python main.py', shell=True, stdin=subprocess.
        PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout_data, stderr_data = p.communicate(timeout=100)
    str = stdout_data.decode('utf-8')
    print(str)
    return json.loads(str)


def Move_Servo():
    servo = Servo(26)
    servo.max()
    sleep(0.5)
    servo.min()
    sleep(0.25)
    servo.max()

import subprocess
import json
from gpiozero import Servo
from time import sleep

def ManjiCamera4p3():

    p = subprocess.Popen("python main.py", shell=True,stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

    stdout_data, stderr_data = p.communicate(timeout=100)
    str = stdout_data.decode("utf-8")
    print (str)
    return json.loads(str)

def Move_Servo():
    servo = Servo(26)
    servo.max()
    sleep(.5)
    servo.min()
    sleep(.25)
    servo.max()

    


#if __name__ == '__main__':
#Move_Servo();
#print(ManjiCamera4p3());
