From d3e94a2f645939900d856e29c9adb4cbffadbc6f Mon Sep 17 00:00:00 2001 From: Electronica y Ciencia Date: Wed, 26 Jun 2024 13:54:20 +0200 Subject: [PATCH] Clearer description --- EasyMCP2221/MCP2221.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/EasyMCP2221/MCP2221.py b/EasyMCP2221/MCP2221.py index 89fd7c6..d02e628 100644 --- a/EasyMCP2221/MCP2221.py +++ b/EasyMCP2221/MCP2221.py @@ -2076,11 +2076,12 @@ def reset(self): Reboot the device and load stored configuration from flash. - This operation do not reset any I2C slave devices. + This operation resets only the MCP2221/A chip. + It won't reset any I2C slave devices connected. - Note: - The host needs to re-enumerate the device after a reset command. - After a reset, EasyMCP2221 will try to re-open the device for the next 5 seconds. + The reset function waits 0.5 seconds to complete. + Then it tries to re-open the device for the next 5 seconds. + If the chip does not respond after 5 seconds, an exception is generated. """ buf = [0] * 4 buf[0] = CMD_RESET_CHIP