Commit bfdbc806 authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

Manter consistência na porta serial padrão

parent abf90a4b
Pipeline #25 canceled with stages
...@@ -9,7 +9,7 @@ from sacada.SACADA import SACADA ...@@ -9,7 +9,7 @@ from sacada.SACADA import SACADA
typeR = thermocouples['R'] typeR = thermocouples['R']
@click.option('--port', default="/dev/ttyACM1", help='serial port location eg.: /dev/ttyACM0 (default)') @click.option('--port', default="/dev/ttyACM0", help='serial port location eg.: /dev/ttyACM0 (default)')
@click.pass_context @click.pass_context
def cli(ctx, port): def cli(ctx, port):
ctx.obj['s'] = SACADA(port) ctx.obj['s'] = SACADA(port)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment