mirror of
https://github.com/2martens/uni.git
synced 2026-05-06 11:26:25 +02:00
[ES] Fixed variable type
Signed-óff-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -10,7 +10,7 @@ int buttonTwoPin = 3;
|
|||||||
// used to achieve a 1kHz frequency
|
// used to achieve a 1kHz frequency
|
||||||
// don't touch them
|
// don't touch them
|
||||||
int compareValue = 60;
|
int compareValue = 60;
|
||||||
int rc = 10499;
|
long rc = 10499;
|
||||||
|
|
||||||
// this variable is affected by the buttonOne and buttonTwo actions
|
// this variable is affected by the buttonOne and buttonTwo actions
|
||||||
int volatile counter = 0;
|
int volatile counter = 0;
|
||||||
|
|||||||
@ -16,7 +16,7 @@ bool volatile motorPowerMaxReached = false;
|
|||||||
// used to achieve a 1kHz frequency
|
// used to achieve a 1kHz frequency
|
||||||
// don't touch them
|
// don't touch them
|
||||||
int compareValue = 60;
|
int compareValue = 60;
|
||||||
int rc = 10499;
|
long rc = 10499;
|
||||||
|
|
||||||
int buttonOnePin = 8;
|
int buttonOnePin = 8;
|
||||||
int buttonTwoPin = 9;
|
int buttonTwoPin = 9;
|
||||||
|
|||||||
@ -9,7 +9,7 @@ int vref = A0;
|
|||||||
|
|
||||||
// used to achieve a 10 Hz frequency
|
// used to achieve a 10 Hz frequency
|
||||||
// don't touch them
|
// don't touch them
|
||||||
int rc = 1049999;
|
long rc = 1049999;
|
||||||
|
|
||||||
bool volatile read_ready = false;
|
bool volatile read_ready = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user