mirror of
https://github.com/pommi/python-itho-wpu.git
synced 2024-11-21 13:52:15 +01:00
feat: log the hex request in debug mode
This commit is contained in:
parent
8bde04ba41
commit
a1f8328b50
@ -62,6 +62,8 @@ class I2CMaster:
|
||||
|
||||
def execute_action(self, action):
|
||||
request = self.compose_request(action)
|
||||
request_in_hex = [hex(c) for c in request]
|
||||
logger.debug(f"Request: {request_in_hex}")
|
||||
result = None
|
||||
for i in range(0, 20):
|
||||
logger.debug(f"Executing action: {action}")
|
||||
|
Loading…
Reference in New Issue
Block a user