summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/button_script.sh
diff options
context:
space:
mode:
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