67 Commits

Author SHA1 Message Date
Eric Jiang
9ed1cb55a2 Add human-readable ounce display 2025-06-14 17:40:00 -07:00
Eric Jiang
23888abc52 Add CI workflow for build 2025-06-14 16:38:42 -07:00
Eric Jiang
97e48ded31 Fix endian conversion when reading weight 2025-06-14 09:02:36 -07:00
Eric Jiang
3ffb1693cb Fix vendor ID typo in udev rules 2025-06-12 22:06:16 -07:00
Eric Jiang
699c278010 Fix duplicate scale detection in find_nth_scale 2025-05-30 17:14:52 -04:00
Eric Jiang
efccef3334 Fix wrong command in help v0.9.0 2023-08-10 16:33:26 -07:00
Eric Jiang
f8918c7095 Add argument parsing for selecting scale by index 2023-08-10 16:26:43 -07:00
Jakub Wilk
21081b7ee8 Compute NSCALES automatically 2023-04-07 11:18:27 -07:00
Eric Jiang
82a09725eb Remove trailing spaces 2023-04-07 11:12:06 -07:00
Jakub Wilk
6ec35c72a3 Fix typo 2023-04-07 11:10:01 -07:00
Eric Jiang
03fd49d8d5 Remove lsusb 2022-12-02 22:04:51 -08:00
Eric Jiang
cbe7f924b6 Update email address 2022-12-02 22:03:38 -08:00
Eric Jiang
b902381221 Define alias for le16toh on macOS
Fixes #25
2022-12-02 21:51:07 -08:00
f61a8b5e09
Add another Mettler Toledo ID (found on a PS3L) (#26) 2022-05-19 22:03:37 -07:00
4b91759889 Add USPS DS25 25lb scale 2021-04-12 18:26:07 -07:00
Eric Jiang
7ecb071ad8 Add Dymo-CoStar Corp. S180 scale 2021-03-08 13:38:44 -08:00
c10d19738d Add .gitignore so the compiled binary isn't committed 2021-02-04 11:56:53 -08:00
72bd325dc1 Add Pitney Bowes 10lb scale 397-B (X.J. Group XJ-6K809) 2021-02-04 11:56:53 -08:00
Eric Jiang
f1ff9fefba Add paragraph about zeroing the scale 2020-06-25 22:51:59 -07:00
Eric Jiang
ac1a13730c Merge branch 'zero-scale' 2020-06-25 22:49:44 -07:00
Eric Jiang
0dd9f0c169 Add ko-fi button 2020-06-25 22:49:23 -07:00
erjiang
e4a5b18733
Fix typo in comment 2019-11-20 11:23:03 -08:00
Eric Jiang
3b7dd8f514 Add issue template instructions 2016-08-10 19:04:30 -07:00
Eric Jiang
58e482f91e Add proof of concept of zeroing the scale 2016-08-10 18:36:15 -07:00
erjiang
6c34d1f9c6 Merge pull request #12 from Springworks/scales/new-dymo
Support for new DYMO 1772057 Digital Postal Scale
2016-02-11 15:52:40 -08:00
Kristofer Sommestad
1ee1e85cbe Added support for DYMO 1772057 Digital Postal Scale 2015-10-28 18:19:30 +01:00
Kristofer Sommestad
6ff81583db Added missing Dymo scale to rules.d file 2015-10-28 18:19:21 +01:00
erjiang
60b6f396ff Merge pull request #11 from sanmai/master
Support for additional scale, fix weight calculation
2015-10-26 12:11:31 -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
Alexey Kopytko
c0f3c1ea05 scales.h: correct number of known scales 2015-10-23 15:46:55 +09:00
Eric Jiang
f685c3c355 Add Stamps.com Stainless Steel 35 lb. Digital Scale
Thanks to jt70471 who reported this device on Github as issue #10
2015-06-18 17:08:21 -04:00
Eric Jiang
af28f08c70 Clean up Makefile 2015-06-16 11:44:09 -04:00
Eric Jiang
eb90d0afb1 Copy over some vendor/product IDs from scales.h 2015-06-16 11:42:26 -04:00
Eric Jiang
2a08b1a73a Add user-contributed SANFORD Dymo 10 lb scale 2014-07-16 14:41:15 -04:00
Eric Jiang
5adbb00930 Added Fairbanks Scales SCB-R9000
Thanks to github.com/jacksnodgrass
2014-01-28 19:28:42 -05:00
Eric Jiang
76270a87a5 Merge branch 'master' of github.com:erjiang/usbscale 2014-01-13 22:30:56 -05:00
Eric Jiang
82cab8804b Rely less on Make rule magic 2014-01-13 20:34:35 -05:00
erjiang
72a7ea6aaf Merge pull request #3 from linspb/Mettler_Toledo
Thanks for the pull request!
2013-10-22 10:58:44 -07:00
Dmitriy Kozmenko
8246022ddb Added: Mettler Toledo
Fixed: Skip first result
Added: Set exponent
2013-09-30 13:59:58 -04:00
Eric Jiang
7a6ac78c5f Also add udev entry for stamps.com 5lb steel scale 2012-10-15 21:30:17 -07:00
Eric Jiang
cef66896ec Made the number of valid scales a defined constant 2012-10-14 00:21:52 -07:00
Eric Jiang
5acc91ec4f Added "Stamps.com Stainless Steel 5 lb. ..." 2012-10-14 00:19:57 -07:00
Eric Jiang
0d4982a1d6 Fixed gcc -Wall warnings 2012-04-07 15:51:47 -04:00
Eric Jiang
5d9ebf250c Makefile: Fixed "lsscale" -> "lsusb" 2012-04-05 17:25:38 -04:00
Eric Jiang
6d9f3ae92f Updated contact information to include Github page. 2011-12-31 15:53:49 -05:00
Eric Jiang
952d09b33d Simplified Makefile to use implicit rules 2011-12-31 15:47:47 -05:00
Eric Jiang
710cbefb71 Added USB ID for USPS PS311
Thanks to Mike DePriest (mike.depriest@gmail.com), added a scale
definition for the USPS PS311 (made by Elane). ID is 7b7c:0100.
2011-12-31 15:44:26 -05:00
Eric Jiang
7ca9725b91 Read and discard old packet 2011-03-01 15:43:38 -05:00
Eric Jiang
97d0d7a109 Added License 2011-03-01 15:41:46 -05:00