Skip to content

Commit

Permalink
fix array nubosidad
Browse files Browse the repository at this point in the history
  • Loading branch information
sabas1080 committed Aug 19, 2019
1 parent 13ec946 commit 33f24da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/meteorito/meteorito.ino
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int leerUV(){
/*Funcion para obtener nubosidad*/
char nubosidad() {
int lecturaSensor=analogRead(pinNubosidad);
char nubosidad = tipoNubosidad[map(lecturaSensor, 0, 4095, 0, 5)];
char nubosidad = tipoNubosidad[map(lecturaSensor, 0, 4095, 0, 4)];

#ifdef DEBUG2
Serial.print("Nubosidad: ");
Expand Down

0 comments on commit 33f24da

Please sign in to comment.