aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rw-r--r--run.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100644
index 0000000..c78d362
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+
+
+
+
+make
+
+#rsync -aHv -q -e "ssh" build/i2sensors-arm root@cb2:/tmp/i2sensors
+scp build/i2sensors-armhf root@cb2:/tmp/i2sensors
+
+ssh root@cb2 '/tmp/i2sensors read_one 1 lm75 0x49 0,111.1'
+echo
+ssh root@cb2 '/tmp/i2sensors read_all 1 lm75 0x49 '
+#ssh root@cb2 '/tmp/i2sensors list_all 1 lm75 0x49'
+
+exit 0 \ No newline at end of file