Exemplo n.º 1
0
def pcrcompile(device, args):
    with args.program_file as InF:
        print(PCRCompiler.parse_program(InF.read()))
Exemplo n.º 2
0
def pcrcompile(device, args):
    with args.program_file as InF:
        print(PCRCompiler.parse_program(InF.read()))
Exemplo n.º 3
0
def send(device, args):
    with args.program_file as InF:
        program = InF.read().strip()
    program = PCRCompiler.parse_program(program)
    device.sendprogram(program)
Exemplo n.º 4
0
def send(device, args):
    with args.program_file as InF:
        program = InF.read().strip()
    program = PCRCompiler.parse_program(program)
    device.sendprogram(program)