1am
Diff: Serializer.h
- Revision:
- 1:9a7e6c978adb
- Parent:
- 0:d2dcb47dc8e9
- Child:
- 2:9e0d3f159ec3
--- a/Serializer.h Sun Dec 12 23:49:02 2010 +0000 +++ b/Serializer.h Mon Dec 13 04:26:04 2010 +0000 @@ -7,8 +7,8 @@ #define WAIT .001 #define PI 3.1415926 -#define PIVET_ADJUSTMENT 6 -#define PIVET_SPEED 25 +#define PIVET_ADJUSTMENT 7.4 +#define PIVET_SPEED 20 #define PULSES_PER_REVOLUTION 624 #define WHEEL_DIAMETER 2.25 //inches @@ -147,6 +147,7 @@ Serial *serial; volatile int leftSpeed, rightSpeed; volatile int _lPWM, _rPWM; - volatile char commandInProgress; + volatile char _isBusy; + volatile char _irqIsBusy; }; #endif \ No newline at end of file