This commit is contained in:
2019-04-20 23:44:37 +03:00
commit dc36f1906c
7 changed files with 162 additions and 0 deletions

4
gethum.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
echo "5" > /dev/ttyUSB0
HUM=`dd if=/dev/ttyUSB0 count=1`
echo $HUM