query()#
- I2CInterface.query( ) Measurement[source]#
Send a batch command (OR of its enum members) to
peripheraland read the response.Uses write-then-read with an I2C STOP between operations. Raises
ValueErrorifperipheralis not a command-based device, or ifbatch_commandreferences undefined command enums.