Compare commits
4 Commits
placa-y-ar
...
uuidgen
| Author | SHA1 | Date | |
|---|---|---|---|
| 78f44609bb | |||
| 5ccb19eca9 | |||
| 026fee8be3 | |||
| 0968283430 |
@ -8,7 +8,7 @@ int inQuery;
|
||||
|
||||
|
||||
int getData() {
|
||||
int sensorValue = analogRead(A2);
|
||||
int sensorValue = analogRead(A7);
|
||||
return (map(sensorValue, 0, 700, 100, 0));
|
||||
}
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ source $funciones
|
||||
test -z $nombre && exit
|
||||
test -f $public_key || exit
|
||||
|
||||
uuid="$(uuid)"
|
||||
uuid="$(uuidgen)"
|
||||
marca_de_tiempo="$(date +%s)"
|
||||
|
||||
|
||||
|
||||
@ -26,8 +26,8 @@ ficheros="bin envs arduinos.py generador_json funciones registrador desinstalar"
|
||||
|
||||
echo "1. Instalando dependencias
|
||||
"
|
||||
#apt update && apt install -y python3-pip jsonlint jq uuid
|
||||
#pip3 install pyserial
|
||||
apt update && apt install -y python3-pip jsonlint jq uuid
|
||||
pip3 install pyserial
|
||||
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user