Tidy up python client - add file

This commit is contained in:
zvecr 2022-07-17 22:03:53 +01:00
parent ca8af27673
commit 5c21830da2

View File

@ -0,0 +1,4 @@
def u32toBCD(val): # noqa: N802
"""Create BCD string
"""
return f'{val>>24}.{val>>16 & 0xFF}.{val & 0xFFFF}'