en la placa v3 el pin usado es el A7
This commit is contained in:
parent
84199c855d
commit
0968283430
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