i2cdriver icon indicating copy to clipboard operation
i2cdriver copied to clipboard

GUI should recognise I2CMini, disable current/voltage readouts

Open jamesbowman opened this issue 6 years ago • 2 comments
trafficstars

When device is I2CMini, which has no current or voltage sensing, those readouts should be disabled.

jamesbowman avatar Oct 18 '19 02:10 jamesbowman

🤔 How will the I2CMini be identified?

I'm guessing the 'identifier' of the status response (? command) will say 'I2CMini'?

Since this is a fixed length string- I'm also guessing it'll be padded at the end with some whitespace.

williamkapke avatar Oct 18 '19 16:10 williamkapke

Yes, for I2CDriver the status response field identifier field is i2cdriver1:

image

but for I2CMini has i2cdriverm.

jamesbowman avatar Oct 18 '19 17:10 jamesbowman