4 Commits

Author SHA1 Message Date
fauno 78f44609bb uuidgen 2022-05-19 13:26:29 -03:00
Sergio Pernas 5ccb19eca9 update 2022-05-19 13:05:11 -03:00
sergio.pernas 026fee8be3 Merge pull request 'en la placa v3 el pin usado es el A7' (#11) from turbidez into master
Reviewed-on: https://gitea.nulo.in/Nodemecu/nodemecu/pulls/11
2022-05-19 12:55:41 -03:00
fauno 0968283430 en la placa v3 el pin usado es el A7 2022-05-19 12:24:28 -03:00
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ int inQuery;
int getData() {
int sensorValue = analogRead(A2);
int sensorValue = analogRead(A7);
return (map(sensorValue, 0, 700, 100, 0));
}
+1 -1
View File
@@ -7,7 +7,7 @@ source $funciones
test -z $nombre && exit
test -f $public_key || exit
uuid="$(uuid)"
uuid="$(uuidgen)"
marca_de_tiempo="$(date +%s)"
+2 -2
View File
@@ -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 ""