Commit 6e7d6584 authored by Alén Arias Vázquez's avatar Alén Arias Vázquez 😎

change default!

parent 36caa587
......@@ -81,7 +81,7 @@ def main():
parser.add_argument('--baudrate', "-b", type=int, default=115200, help="Serial baudrate")
parser.add_argument('--chan', "-C", type=int, default=1, help="Channel selector")
parser.add_argument('--volts', "-V", type=float, default=12.0, help="Volts")
parser.add_argument('--amps', "-A", type=float, default=0.2, help="Amps")
parser.add_argument('--amps', "-A", type=float, default=1.0, help="Amps")
parser.add_argument("--powerup", action='store_true', help="Switch On requested channel with requested values")
args = parser.parse_args()
psu=CPX400DP(name='CPX400DP', devname=args.device, baudrate=args.baudrate, log_level=logging.INFO)
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