sotsuron

Fork of linearMirrorMotion1017 by Hiromasa Oku

Revision:
23:ce375ac0ddfe
Parent:
22:e86d63dfbbe1
--- a/main.cpp	Fri Jun 28 02:30:51 2013 +0000
+++ b/main.cpp	Mon Jul 01 04:08:17 2013 +0000
@@ -50,12 +50,12 @@
 
 ////for culculate rotary velocity --------------------------------------------------------
 int radious = 700, attachSecond = 500;
-/*volatile float*/ int  angleIncrement = 1;//2.0*PI / 2500;// when in Sign/Magnitude mode
+volatile float /*int*/  angleIncrement = 2.0*PI / 2500;// when in Sign/Magnitude mode 1;
 
 // a ticker function to compute the speed periodically-------------------------------------------------------------
 #define PERIODIC_COMPUTE 5000 // in us
 volatile float angularSpeed = 0;
-/*volatile float*/ int angle=0, oldAngle=0;
+volatile float /*int*/ angle=0, oldAngle=0;
 Ticker speedTimerCompute;
 Ticker superEncoder;