PWM and ALGO updated.. PWM getting generated
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of TFR_BAE_vr1_1working_finally_PWM_CTRLALGO_update by
TCTM.h
- Committer:
- Bragadeesh153
- Date:
- 2016-04-07
- Revision:
- 14:ccdf8790a15e
- Parent:
- 5:bb592f3185cc
File content as of revision 14:ccdf8790a15e:
#define ACK_CODE 0x02; uint8_t* FCTN_BAE_TM_TC(uint8_t*); void FCTN_CDMS_WR_FLASH(uint16_t ,uint32_t); uint32_t FCTN_CDMS_RD_FLASH(uint16_t ); void FCTN_CONVERT_FLOAT(float input, uint8_t* output); void FCTN_CONVERT_UINT(uint8_t input[2], float* output); void FCTN_ACS_GENPWM_MAIN(float Moment[3]); #define B0 -23 #define B1 -2 #define B2 5 #define W0 -5.65 #define W1 0.45 #define W2 -1.97