mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
setup one wire added
This commit is contained in:
parent
b2fe0c8453
commit
395ad3521d
1 changed files with 1 additions and 1 deletions
|
@ -229,9 +229,9 @@ def setup():
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.option('--list', is_flag=True)
|
@click.option('--list', is_flag=True)
|
||||||
def onewire(list):
|
def onewire(list):
|
||||||
|
'''Setup 1wire on Raspberry Pi'''
|
||||||
if list is True:
|
if list is True:
|
||||||
list_one_wire()
|
list_one_wire()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Setting up 1Wire")
|
print("Setting up 1Wire")
|
||||||
setup_one_wire()
|
setup_one_wire()
|
||||||
|
|
Loading…
Reference in a new issue