diff --git a/es/blatt2/uebung2-1/uebung2-1.ino b/es/blatt2/uebung2-1/uebung2-1.ino index 0d9a676..306f1cf 100644 --- a/es/blatt2/uebung2-1/uebung2-1.ino +++ b/es/blatt2/uebung2-1/uebung2-1.ino @@ -10,7 +10,7 @@ int buttonTwoPin = 3; // used to achieve a 1kHz frequency // don't touch them int compareValue = 60; -int rc = 10499; +long rc = 10499; // this variable is affected by the buttonOne and buttonTwo actions int volatile counter = 0; diff --git a/es/blatt2/uebung2-3/uebung2-3.ino b/es/blatt2/uebung2-3/uebung2-3.ino index e3e97a7..fa336c8 100644 --- a/es/blatt2/uebung2-3/uebung2-3.ino +++ b/es/blatt2/uebung2-3/uebung2-3.ino @@ -16,7 +16,7 @@ bool volatile motorPowerMaxReached = false; // used to achieve a 1kHz frequency // don't touch them int compareValue = 60; -int rc = 10499; +long rc = 10499; int buttonOnePin = 8; int buttonTwoPin = 9; diff --git a/es/blatt3/uebung3-1/uebung3-1.ino b/es/blatt3/uebung3-1/uebung3-1.ino index 3894d74..620ad5b 100644 --- a/es/blatt3/uebung3-1/uebung3-1.ino +++ b/es/blatt3/uebung3-1/uebung3-1.ino @@ -9,7 +9,7 @@ int vref = A0; // used to achieve a 10 Hz frequency // don't touch them -int rc = 1049999; +long rc = 1049999; bool volatile read_ready = false;