- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have used the Voltage Display project from the 050 Development Kit and updated it to the 049 Kit and it works.
Now I have created a new empty project manually and draw the schematic and copied the code from the main.c and it will not compile.
I think it have something to do with the device.h, but even after copying the device.h into the new project, it will not compile.
I have attached both projects, if someone can give me some hints where to look at, would be highly appreciated.
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In your new project (frontpanel.zip), change the #include <device.h> to #include <project.h> in main.c file and in the Schematic page, rename ADC_DelSig component to ADC. Then your project builds successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In your new project (frontpanel.zip), change the #include <device.h> to #include <project.h> in main.c file and in the Schematic page, rename ADC_DelSig component to ADC. Then your project builds successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
now it can compile. I forgot to make sure the ADC has the same name as used in the main.c.