Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 8

510-----509------592

510-----509------593
505-----512------592
497-----493------593
479-----498------590
528-----499------589
514-----505------588
509-----509------592
511-----513------595
510-----509------593
510-----509------592
510-----509------593
510-----509------593
512-----506------598
511-----467------581
513-----451------568
501-----399------495
504-----398------493
498-----397------492
498-----397------491
498-----397------491
498-----397------491
497-----397------488
498-----417------508
510-----509------593
510-----509------593
510-----509------593
510-----509------593
509-----509------592
509-----509------593
509-----509------592
509-----509------592
510-----509------593
510-----509------593
510-----510------593
510-----509------593
510-----509------592
0-----0------0
0-----0------0
0-----0------0
-1-----0------0
0-----0------0
0------8------2
0------24------4
0------40------10
0------60------24
0------72------39
-1------80------45

0------79------48
0------81------53
0------82------56
0------84------66
0------85------73
0------86------76
-1------70------33
9------12------5
32------12------8
44------9------12
50------10------16
57------11------20
64------10------28
79------9------40
85------12------61
88------8------76
24------11------3
1------17------0
0------12------0
-5-----0------0
-6-----6-------5
-13------5------2
-7-----2------0
-5-----0-------4
-8------19-------9
3-----1------0
-8-----6------4
-4-----4-------4
12------2------0
-22-----12------16
-58-----8------16
-51-----25------17
-15-----0-------8
-4------3------0
-2------8------11
0------1------0
0------1------0
0------1------0
0------1------0
0------1------0
0------1------0
0------1------0
0------1------0
0-----0------0
0------1------0
0------1------0
0------1------0
0------1------0
0------1-------1

0-----0------0
0-----0------0
0-----1------0
0-----1------0
0-----1------0
0-----1------0
0-----1------0
0-----1------0
4-----2------0
40-----1------10
77-----0------40
88-----0------64
90-----1------84
90-----2------81
90-----2------84
89-----2------81
90-----1------81
89-----1------78
88-----7------68
82-----0------51
22-----3-------5
-1------44------12
0------69------32
0------81------53
0------84------65
0------87------76
0------85------77
0------85------81
0------86------75
0------87------84
0------68------32
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------0
0-----0------1
0-----0------0
0-----0------0

0-----0------0
0------4------0
51-----0------16
68-----0------28
81-----1------67
89-----0------80
89------1------83
90------2------84
91-----0------84
89-----0------80
91-----0------74
88------3------79
89------3------79
91------4------78
92------3------77
88------2------79
90------1------81
86------4------65
89------2------83
33------4-------3
0-----0------0
0------1------0
-1-----1-------1
-32-----0------2
-71-----0------38
-81-----3------55
-84-----0------49
-84------2------56
-85------1------57
-71------5------29
-8------2------1
-6------3------0
-2-----0------0
0-----0------0
0-----12------0
12-----66------13
15-----92------69
9-----92------80
9-----91------81
12-----92------79
8-----36------3
0------12------0
0------73------40
-3------84------80
-1------85------83
-1------85------83
-2------84------84
-1------85------86
-1------84------74

7------39------9
1------4------0
1------4------0
1------6------0
0------8------0
44------7------12
77------6------43
89------4------71
89------4------73
88------5------76
44------4------22
15------3------1
15------4------0
-36------10------4
-75------4------35
-80------10------54
-81------13------53
-37------10------7
-8-----3-------10
-6------2------1
-6------1------0
-7------4------0
-4------4------0
-4------4------0
-4------5------0
8------5-------3
46------5------13
74------17------40
88------12------74
88------11------75
33------5------6
8------1------7
-66------2------22
-80------1------40
-52------8------12
7-----11------2
8-----8------4
0-----0------0
*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
// the setup routine runs once when you press reset:
void setup() {

// initialize serial communication at 9600 bits per second:


Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int x = analogRead(A2);
int y = analogRead(A3);
int z = analogRead(A5);
// print out the value you read:
Serial.print(x);
Serial.print("-----");
Serial.print(y);
Serial.print("------");
Serial.println(z);
delay(1000);
}

// delay in between reads for stability

/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int x = analogRead(A3);
int y = analogRead(A2);
int z = analogRead(A5);
int gradosx;
int gradosy;
int gradosz;
gradosx=(509-x)/(1.25);
gradosy=(501-y)/(1.25);
gradosz=(593-z)/(1.25);

// print out the value you read:


Serial.print(gradosx);
Serial.print("-----");
Serial.print(gradosy);
Serial.print("------");
Serial.println(gradosz);
delay(1000);
}

// delay in between reads for stability

You might also like