![](/media/cache/group/nine_tails_kurama_by_zubair43-d4zyf5s.jpg.50x50_q85.jpg)
PWM and ALGO updated.. PWM getting generated
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of TFR_BAE_vr1_1working_finally_PWM_CTRLALGO_update by
ACS.h
- Committer:
- Bragadeesh153
- Date:
- 2016-03-31
- Revision:
- 11:0f71a96987bd
- Parent:
- 0:7b4c00e3912f
File content as of revision 11:0f71a96987bd:
#include "mbed.h" #include "math.h" #include "pni.h" //........................................... //#define TIME_PERIOD 0.02 //#define TR_CONSTANT 0.3 #define TIME_PERIOD 0.02 #define TR_CONSTANT 0.15254 void FCTN_ACS_GENPWM_MAIN(float*); void FCTN_ACS_CNTRLALGO(float*,float*); void inverse(float mat[3][3],float inv[3][3]); extern void FLAG(); void FCTN_ATS_SWITCH(bool); void FCTN_ACS_INIT(); //initialization of registers happens //void FCTN_ATS_DATA_ACQ(float*,float*); // main function: checks errors, gets data, switches on/off the sensor //void FCTN_GET_DATA(float*,float*); //data is obtained void FCTN_T_OUT(); //timeout function to stop infinite loop void FCTN_ATS_DATA_ACQ();