blob: 6894d27ccb2cece3bc5a958b7068b52ad97b00c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
make all
echo
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 qmc5883 0x0d 0,x'
echo
#ssh root@cb2 '/tmp/i2sensors conf_set 1 lm75 0x49 thys,-129.5'
#ssh root@cb2 '/tmp/i2sensors '
ssh root@cb2 '/tmp/i2sensors read_one 1 lm75 0x49 0,-0.5 '
# ssh root@cb2 'rm /tmp/i2sensors'
#make clean
else
exit 1
fi
|