Eric Jiang
652d5661a7
Add argument parsing for selecting scale by index
2023-07-28 17:10:04 -07:00
Eric Jiang
b902381221
Define alias for le16toh on macOS
...
Fixes #25
2022-12-02 21:51:07 -08:00
Eric Jiang
ac1a13730c
Merge branch 'zero-scale'
2020-06-25 22:49:44 -07:00
erjiang
e4a5b18733
Fix typo in comment
2019-11-20 11:23:03 -08:00
Eric Jiang
58e482f91e
Add proof of concept of zeroing the scale
2016-08-10 18:36:15 -07:00
Alexey Kopytko
4ef120b934
Support for DYMO M25 Digital Postal Scale
...
Dymo M25 Scale uses different endpoint from the default (LIBUSB_RECIPIENT_ENDPOINT instead of LIBUSB_RECIPIENT_INTERFACE), hence we need to find it in the device's configuration.
2015-10-23 17:59:59 +09:00
Alexey Kopytko
d2f0d6ea61
print_scale_data: correctly apply exponent
2015-10-23 17:01:02 +09:00
Dmitriy Kozmenko
8246022ddb
Added: Mettler Toledo
...
Fixed: Skip first result
Added: Set exponent
2013-09-30 13:59:58 -04:00
Eric Jiang
cef66896ec
Made the number of valid scales a defined constant
2012-10-14 00:21:52 -07:00
Eric Jiang
0d4982a1d6
Fixed gcc -Wall warnings
2012-04-07 15:51:47 -04:00
Eric Jiang
7ca9725b91
Read and discard old packet
2011-03-01 15:43:38 -05:00
Eric Jiang
f4c33e687d
Fixed weight reading to be properly-scaled double
2011-03-01 15:39:48 -05:00
Eric Jiang
f68ac41120
Updated comment documentation.
2011-02-14 16:25:36 -05:00
Eric Jiang
8c039b082c
Added gplv3 note to usbscale.c
2011-02-14 00:00:24 -05:00
Eric Jiang
81355c8c18
Wrote 2/3 of the documentation, docco style
2011-02-13 22:25:27 -05:00
Eric Jiang
89eede04c8
Working! with print formatting and everything!
2011-02-13 21:53:57 -05:00
Eric Jiang
e48f9984c7
Seems to be getting data now.
2011-02-13 20:47:37 -05:00
Eric Jiang
d862cd1e94
Current attempt to read data
2011-02-13 20:38:25 -05:00
Eric Jiang
7b4cde73b0
Compiles and runs... but no data?
2011-01-29 23:49:38 -05:00
Eric Jiang
cc1d6950b3
Updated Makefile for usbscale.c
2011-01-29 19:32:52 -05:00