From c041a6eae368a11c97e1ce83e02716ab190de0d3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Oct 2013 19:43:35 +0200 Subject: i2cget / i2cset: Accept hexadecimal input, document exit codes --- commandline/man/vusb-i2cset.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'commandline/man/vusb-i2cset.1') diff --git a/commandline/man/vusb-i2cset.1 b/commandline/man/vusb-i2cset.1 index 7f24941..795345b 100644 --- a/commandline/man/vusb-i2cset.1 +++ b/commandline/man/vusb-i2cset.1 @@ -30,6 +30,12 @@ sends bytes to an I2C device. It transmits a START condition, then the .Ar address with the R/W bit set to write, and then all specified bytes. . +.Ar address +and +.Ar data +are decimal by default, use the +.Qq 0x +prefix for hexadecimal numbers . .Sh EXIT STATUS . @@ -47,9 +53,14 @@ after transmitting the .Ar address , a NAK was received . +.It 2 +. +Bad input (not a number) +. .El . . + .Sh AUTHOR . Copyright (C) 2013 by Daniel Friesel -- cgit v1.2.3