akiyoshi oguro
/
Nucleo_Hall_rect_sin
CCW CW Control BLDC
Diff: main.cpp
- Revision:
- 2:f23351f7af0b
- Parent:
- 1:333d2cdd26d0
diff -r 333d2cdd26d0 -r f23351f7af0b main.cpp --- a/main.cpp Sat Nov 14 02:43:13 2020 +0000 +++ b/main.cpp Tue Nov 17 01:31:35 2020 +0000 @@ -315,8 +315,8 @@ /************************************************************/ Speed=60*(1/(7.0*usi*1E-6)); //pc.printf("%.3f , %.3f \r" ,Speed ,Vr_adc); - // UP=HALL_Ui;VP=HALL_Vi;WP=HALL_Wi; - // pc.printf("%d , %d , %d \r" , UP,VP,WP); + UP=HALL_Ui;VP=HALL_Vi;WP=HALL_Wi; + pc.printf("%d , %d , %d \r" , UP,VP,WP); } } \ No newline at end of file