bubulindo:
//o teu sinal anda entre 1 e 3V.
//5V = 1024 1V = (11024)/5 = 204.8 ~ 209
//5V = 1024 3V = (31024)/5 = 614.4 ~ 614
corrente = map(valor, 209, 614, -100, 100);
Analisaste bem estes números?
bubulindo:
//o teu sinal anda entre 1 e 3V.
//5V = 1024 1V = (11024)/5 = 204.8 ~ 209
//5V = 1024 3V = (31024)/5 = 614.4 ~ 614
corrente = map(valor, 209, 614, -100, 100);
Analisaste bem estes números?