5 lines
148 B
Bash
5 lines
148 B
Bash
|
#!/bin/bash
|
||
|
DATE=$(date "+%y年%m月%d日%H时%M分%S秒");
|
||
|
T="$(/root/gpio/wind -d 28-031682c7baff)"
|
||
|
echo "${DATE} ${T}" >> /root/temperature.data
|