It would be best, if you upload your project here to have us a look at.
To do so:
Build -> Clean Project
File -> Create Workspace Bundle (minimal)
and then upload the residing zip-archive with your post.
Did you use in Creator 2.0 the "Build -> Buils Project" command? Changed any name??
To add to Bobs comments,
Components have names, and the attached API generator uses those names as
the object name. So in this example, the PWM name being PWM_1, if you wanted
to call the start function you would write PWM_1_Start(). This is done so API generator
can handle multiple components, of same type, and generate APIs specific to each
I compiled this project w/o error. There is a define in the project,
So did you change name of PWM_1 to PWM_......?
#define PWM_1_STATUS (*(reg8 *) PWM_1_PWMHW__SR0)
PSOC 3 PWM Example.jpg 170.0 K
Rename in the schematic PWM_1 to PWM_Timer, then it will compile.
Double-click on the component and change the name, cursor is already in the name-field.
By the way: Would you be so kind to post the address here from which you uploaded the project, I'd like to have an error like that correctes soon.
My bad, the source code from the website didn't have the schematic, I made schematic and the error.
Thank you all for the help.