Aktualisierung lt. Robert
This commit is contained in:
parent
625bb3cb7e
commit
f026d9b505
@ -78,13 +78,13 @@ void loop()
|
|||||||
int flex5 = analogRead(flexPin5);
|
int flex5 = analogRead(flexPin5);
|
||||||
|
|
||||||
//Daumen
|
//Daumen
|
||||||
int offset1 =100;
|
int offset1 =250;
|
||||||
int max1 =600;
|
int max1 =560;
|
||||||
int pos1 = position(offset1, flex1, max1);
|
int pos1 = position(offset1, flex1, max1);
|
||||||
|
|
||||||
//Zeigefinger
|
//Zeigefinger
|
||||||
int offset2 = 360;
|
int offset2 = 150;
|
||||||
int max2 = 640;
|
int max2 = 620;
|
||||||
int pos2 = position(offset2, flex2, max2);
|
int pos2 = position(offset2, flex2, max2);
|
||||||
|
|
||||||
//Mittelfinger
|
//Mittelfinger
|
||||||
@ -93,8 +93,8 @@ void loop()
|
|||||||
int pos3 = position(offset3, flex3, max3);
|
int pos3 = position(offset3, flex3, max3);
|
||||||
|
|
||||||
//Ringfinger
|
//Ringfinger
|
||||||
int offset4 = 470;
|
int offset4 = 250;
|
||||||
int max4 = 600;
|
int max4 = 500;
|
||||||
int pos4 = position(offset4, flex4, max4);
|
int pos4 = position(offset4, flex4, max4);
|
||||||
|
|
||||||
//Kleiner Finger
|
//Kleiner Finger
|
||||||
|
@ -72,7 +72,7 @@ void setup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
int winkel_1 = 145; // Winkel bei kleinen Sensorwerten
|
int winkel_1 = 145; // Winkel bei kleinen Sensorwerten
|
||||||
int winkel_2 =5; // Winkel bei grossen Sensorwerten
|
int winkel_2 =10; // Winkel bei grossen Sensorwerten
|
||||||
int speed1 = 800;
|
int speed1 = 800;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user