summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-01-15 14:41:19 +0100
committerKoen Kooi <koen@openembedded.org>2009-01-15 14:41:19 +0100
commit1813b844deed16544f80399cd880ba5a91562c33 (patch)
tree8893d8e02bdffce059756bb63405fd5c852ac735
parent1dffa54d5801ae404677edb99c832c2d48e43240 (diff)
picodlp-control: add comment about reading register
-rwxr-xr-xpackages/i2c-tools/picodlp-control/picodlp-control4
1 files changed, 4 insertions, 0 deletions
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")
;;