From d8d87351acd4a8fef65db6a59993cbac99dc3bab Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Tue, 6 Aug 2019 08:51:57 +0200 Subject: qmc5883 initial --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 3baaa4c..6894d27 100644 --- a/run.sh +++ b/run.sh @@ -11,11 +11,11 @@ if [ "$?" == "0" ]; then #rsync -aHv -q -e "ssh" build/i2sensors-arm root@cb2:/tmp/i2sensors # scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors - ssh root@cb2 '/tmp/i2sensors read_one 1 lm75 0x49 0,-0.5' + ssh root@cb2 '/tmp/i2sensors read_one 1 qmc5883 0x0d 0,x' echo - ssh root@cb2 '/tmp/i2sensors conf_set 1 lm75 0x49 thys,-129.5' + #ssh root@cb2 '/tmp/i2sensors conf_set 1 lm75 0x49 thys,-129.5' #ssh root@cb2 '/tmp/i2sensors ' - ssh root@cb2 '/tmp/i2sensors read_all 1 lm75 0x49' + ssh root@cb2 '/tmp/i2sensors read_one 1 lm75 0x49 0,-0.5 ' # ssh root@cb2 'rm /tmp/i2sensors' -- cgit v1.2.3