Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PuR3Luck authored Nov 21, 2022
1 parent 1df125f commit 6a482aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

parser=argparse.ArgumentParser(description="Test script to make sure that camera is connected")
parser.add_argument("--port",type=hex)
args = parser.parse_args()

cam=HuskyLensLibrary("I2C","",address=0x32)
cam=HuskyLensLibrary("I2C","",address=args.port)
print(cam.knock())

0 comments on commit 6a482aa

Please sign in to comment.