Skip to content

Commit

Permalink
fix to run with python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nur committed Mar 25, 2022
1 parent 73e75e7 commit 71ac9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radon_reader.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def GetRadonValue():
print ("Writing...")
uuidWrite = btle.UUID("00001524-1212-efde-1523-785feabcd123")
RadonEyeWrite = RadonEyeService.getCharacteristics(uuidWrite)[0]
RadonEyeWrite.write(bytes("\x50"))
RadonEyeWrite.write(bytes("\x30",'utf-8'))

# Read from 3rd to 6th byte of 00001525-1212-efde-1523-785feabcd123
if args.verbose and not args.silent:
Expand Down

0 comments on commit 71ac9ec

Please sign in to comment.