mirror of https://github.com/erjiang/usbscale
Updated documentation in scales.h
parent
3bf8c3e654
commit
0268fa50b0
@ -1,14 +1,24 @@
|
|||||||
/*
|
//
|
||||||
* This file is a list of all currently-recognized scales,
|
// scales.h
|
||||||
* by their vendor and product IDs.
|
// ========
|
||||||
*
|
//
|
||||||
* For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
|
// This file is a list of all currently-recognized scales' vendor and product
|
||||||
*/
|
// IDs.
|
||||||
|
//
|
||||||
|
// For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
|
||||||
|
//
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
// array length
|
//
|
||||||
|
// **scalesc** should be kept updated with the length of the list.
|
||||||
|
//
|
||||||
int scalesc = 1;
|
int scalesc = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Scales
|
||||||
|
// ------
|
||||||
|
//
|
||||||
uint16_t scales[1][2] = {\
|
uint16_t scales[1][2] = {\
|
||||||
{0x1446, 0x6a73} // Stamps.com USB scale
|
// Stamps.com 10-lb USB scale
|
||||||
|
{0x1446, 0x6a73}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue