summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/button_script.sh
diff options
context:
space:
mode:
authorManel Caro <mcaro@iseebcn.com>2019-03-09 21:25:56 +0100
committerManel Caro <mcaro@iseebcn.com>2019-03-09 21:25:56 +0100
commit9332c933fc05f42882640c9a4e35fab09854af84 (patch)
tree2b9b00b5a411b27f9705603c0d93b8925afd4677 /test-cli/test/helpers/button_script.sh
downloadboard-9332c933fc05f42882640c9a4e35fab09854af84.zip
board-9332c933fc05f42882640c9a4e35fab09854af84.tar.gz
board-9332c933fc05f42882640c9a4e35fab09854af84.tar.bz2
Board: Client Test Suite Initial Commit
Diffstat (limited to 'test-cli/test/helpers/button_script.sh')
-rw-r--r--test-cli/test/helpers/button_script.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-cli/test/helpers/button_script.sh b/test-cli/test/helpers/button_script.sh
new file mode 100644
index 0000000..6908f22
--- /dev/null
+++ b/test-cli/test/helpers/button_script.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+i2cset -f -y 1 0x2d 0x40 0x31
+i2cset -f -y 1 0x2d 0x50 0xff
+i2cget -f -y 1 0x2d 0x50