Difference between revisions of "Firmware-73 Command-012"
(Created page with "==DUMP RES (12, 0Ch)== The DUMP RES command can be used to retrieve the sampling resolution of an analog input port of a USB-microDig. The command can be used in both host an...") |
(No difference)
|
Revision as of 04:16, 20 November 2016
DUMP RES (12, 0Ch)
The DUMP RES command can be used to retrieve the sampling resolution of an analog input port of a USB-microDig. The command can be used in both host and stand-alone modes of operation. Upon completion of the DUMP RES command the USB-microDig sends out the same message as the RES command.
The DUMP RES command has no [BODY].
The [BODY] of the RES command consists of a single 7-bit byte with the following format :
00000yyy: | x = 1; apply the command to all analog input ports (yyy is ignored), ie. send 8 messages with the status for each analog input port (ports configured for I2C sensors are ignored) |
yyy = [0..7]; port number, where the first port number = 0, and the last (8th) input number = 7 |
Example:
In order to retrieve the port 2 the following message is sent:
- 240, 125, 0 {DEV}, 12 {DUMP RES}, 2, 247 (F0h, 7Dh, 00h, 0Ch, 02h, F7h)