From: Koen Kooi Date: Thu, 15 Jan 2009 13:41:19 +0000 (+0100) Subject: picodlp-control: add comment about reading register X-Git-Tag: Release-2010-05/1~4376 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1813b844deed16544f80399cd880ba5a91562c33;p=openembedded.git picodlp-control: add comment about reading register --- diff --git a/packages/i2c-tools/picodlp-control/picodlp-control b/packages/i2c-tools/picodlp-control/picodlp-control index 4254dfb544..dd7d9bfd6b 100755 --- a/packages/i2c-tools/picodlp-control/picodlp-control +++ b/packages/i2c-tools/picodlp-control/picodlp-control @@ -8,6 +8,10 @@ PICO_ADDRESS="0x1b" PICO_OPTION="$1" PICO_OPTION_VALUE="$2" +# Reading a register needs something like: +# bus3-i2c 0x1b wb 0x15 0x08 +# bus3-i2c 0x1b vb4 + case ${PICO_OPTION_VALUE} in "0") ;;