Professional Documents
Culture Documents
Vol
Vol
h"
AnalogIn pot0(A0);
AnalogIn pot1(A1);
double potval;
double valor1;
double potva2;
double valor2;
int main()
{
bt.baud (9600);
while(1)
{
potval = pot0.read() * 3.3;
potva2 = pot1.read() * 3.3;
valor1 = (3.65*potval)-0,42;
valor2 = (1.92926*potva2)-0.34727;