]>
Commit | Line | Data |
---|---|---|
5ed5cea5 TM |
1 | ## |
2 | ## This file is part of the libsigrokdecode project. | |
3 | ## | |
4 | ## Copyright (C) 2020 Tomas Mudrunka <harvie@github> | |
5 | ## | |
6 | ## This program is free software; you can redistribute it and/or modify | |
7 | ## it under the terms of the GNU General Public License as published by | |
8 | ## the Free Software Foundation; either version 2 of the License, or | |
9 | ## (at your option) any later version. | |
10 | ## | |
11 | ## This program is distributed in the hope that it will be useful, | |
12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ## GNU General Public License for more details. | |
15 | ## | |
16 | ## You should have received a copy of the GNU General Public License | |
17 | ## along with this program; if not, see <http://www.gnu.org/licenses/>. | |
18 | ## | |
19 | ||
20 | ''' | |
4afcb4d0 GS |
21 | This decoder interprets the digital output of cheap generic calipers |
22 | (usually made in China), and shows the measured value in millimeters | |
23 | or inches. | |
5ed5cea5 | 24 | |
4afcb4d0 GS |
25 | Notice that these devices often communicate on voltage levels below |
26 | 3.3V and may require additional circuitry to capture the signal. | |
5ed5cea5 | 27 | |
4afcb4d0 GS |
28 | This decoder does not work for calipers using the Digimatic protocol |
29 | (eg. Mitutoyo and similar brands). | |
5ed5cea5 | 30 | |
4afcb4d0 | 31 | For more information see: |
5ed5cea5 TM |
32 | http://www.shumatech.com/support/chinese_scales.htm |
33 | https://www.instructables.com/id/Reading-Digital-Callipers-with-an-Arduino-USB/ | |
34 | ''' | |
35 | ||
36 | from .pd import Decoder |