Skip to content

Commit 197ccba

Browse files
committedAug 21, 2023
feat: enable high speed analog integration
1 parent 84d71d6 commit 197ccba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎adam_modbus/interface.py

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ async def get_adam_model(self) -> str:
9292

9393
return self.model
9494

95+
async def enable_high_speed_analog_integration(self) -> None:
96+
response = await self._send_and_receive("%0100000020\r")
97+
assert response[:3] == "!01", f"Unexpected response: {response}"
98+
9599

96100
@asynccontextmanager
97101
async def adam_connection_context(

0 commit comments

Comments
 (0)
Please sign in to comment.