Closed TheWaterbug closed 1 year ago
For anyone interested, there is an experimental branch multi-scale
that tries to read from every scale found, not just the first scale.
Basic support for multiple scales has been added in f8918c7 using a new "--index" argument. To get the result from the 2nd scale, you can use:
$ usbscale --index 2
(Indices start from 1!)
Thanks to the user who provided additional scales for me to test with!
I have an application that would benefit from being able to read two scales at approximately the same time. Presently usbscale scans the usb and takes a reading from the first supported device. If there are multiple supported devices on the bus, the 2nd (or nth) supported device will never be read.
Putting a 2nd scale on a 2nd Raspberry Pi is an ugly solution, so it would be great if usbscale could be augmented to return either:
I'm not a programmer, but I can assist by purchasing a scale for someone!