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