en la placa v3 el pin usado es el A7 #11
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ int inQuery;
|
||||||
|
|
||||||
|
|
||||||
int getData() {
|
int getData() {
|
||||||
int sensorValue = analogRead(A2);
|
int sensorValue = analogRead(A7);
|
||||||
return (map(sensorValue, 0, 700, 100, 0));
|
return (map(sensorValue, 0, 700, 100, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue