nricciar / usb_scale Goto Github PK
View Code? Open in Web Editor NEWc# library for usb scales
c# library for usb scales
A C# class to interface with a USB scale extended from the blog post http://nicholas.piasecki.name/blog/2008/11/reading-a-stamps-com-usb-scale-from-c-sharp/ This class uses Mike O’Brien’s USB HID library, which can be found at: http://github.com/mikeobrien/HidLibrary Current Binaries: http://github.com/mikeobrien/HidLibrary/downloads See Example.cs on how to use the library. Tested with the Mettler Toledo PS60 Scale (may work with other Mettler Toledo scales automaticly) Should also support the Stamps.com USB Scale Other scale support should be possible by adding their vendor/product id to the GetDevices() method in the Scale.cs file. Example compilation: C:\usb_scale> c:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /t:exe /out:UsbScale.exe Example.cs Scale.cs /r:HidLibrary.dll
Apologies for being lazy without a Pull Request
Here's an archive.org reference for the README that still works
The conversion ratio should be 0.0625, not 0.625.
This library does not have a clear license declaration. Would you mind releasing it under the MIT by placing a LICENSE.md
into the repo and pushing, probably copying from https://opensource.org/licenses/MIT ?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.