Attachments are accessible only for community members.
Anonymous
Not applicable
Jul 19, 2013
03:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 19, 2013
03:50 AM
Hi,
I organized a header file but I have error. What I'm missing.Can you look please?
Labels
- Labels:
-
PSoC 3
3 Replies
Jul 19, 2013
05:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 19, 2013
05:32 AM
Can you tell us at least where the error occurs?
Anonymous
Not applicable
Jul 19, 2013
06:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 19, 2013
06:49 AM
Hi hli,
Error is line 88 in herkulex.h file
Jul 19, 2013
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 19, 2013
08:13 AM
This line reads as
int checksum1(byte* data, int lenghtString);
There is also no mentioning of 'HerkulexClass' in the lines before or after...
Are you sure the attached project is the one giving the error?
I get the compile error in line 46. And the reason is simple: you have a file defined as 'C', and have C++ code in it. You might want to look at cladlab.com/programming-2/how-to-use-c-with-psoc-creator about how to do C++ in Creator. I personally would suggest not to do it, it is not worth the hassle...