diff --git a/Mock/GPIO.py b/Mock/GPIO.py index d0d08fa..4b74957 100644 --- a/Mock/GPIO.py +++ b/Mock/GPIO.py @@ -131,10 +131,10 @@ def output(channels, values): else: if type(values) is list or type(values) is tuple: for value in values: - logger.info("Output channel : {} with value : {}".format(channel, value)) + logger.info("Output channel : {} with value : {}".format(channels, value)) else: - logger.info("Output channel : {} with value : {}".format(channel, values)) - + logger.info("Output channel : {} with value : {}".format(channels, values)) + def input(channel): """