PWM and ALGO updated.. PWM getting generated
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of TFR_BAE_vr1_1working_finally_PWM_CTRLALGO_update by
Diff: ACS.h
- Revision:
- 11:0f71a96987bd
- Parent:
- 0:7b4c00e3912f
--- a/ACS.h Wed Mar 30 13:17:52 2016 +0000 +++ b/ACS.h Thu Mar 31 11:44:20 2016 +0000 @@ -3,8 +3,11 @@ #include "pni.h" //........................................... +//#define TIME_PERIOD 0.02 +//#define TR_CONSTANT 0.3 + #define TIME_PERIOD 0.02 -#define TR_CONSTANT 0.3 +#define TR_CONSTANT 0.15254 void FCTN_ACS_GENPWM_MAIN(float*); void FCTN_ACS_CNTRLALGO(float*,float*);