aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorGergő J. Miklós2019-05-11 03:27:13 +0200
committerGergő J. Miklós2019-05-11 03:27:13 +0200
commit5cbc1bcd61ccd50b3c37f3f70083afca13c9a175 (patch)
tree83d72b3882b109c93407da8d45da43a43f9434d8 /run.sh
parent7dd3691d171f10a76375796936b0ad215f07efa0 (diff)
downloadi2sensors-5cbc1bcd61ccd50b3c37f3f70083afca13c9a175.tar.gz
i2sensors-5cbc1bcd61ccd50b3c37f3f70083afca13c9a175.zip
some debugging + read
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