__HAL_TIM_SetCompare (& amp; Htim3 TIM_CHANNEL_1, 100); This is an error code
Wk \ a moter. C (57) : error: # 20: identifier "htim3 is undefined" this is an error
TIM3 in CUBEMX configuration
But after define the function in the main file header file without error, but would be an error in the motor program, is there anything that's not defined statement or no such thing as reference what is the header file
For big solutions
CodePudding user response:
Inside the motor program plus the header fileCodePudding user response:
Htim3 is not definedCodePudding user response:
TONG + 1