I organized a header file but I have error. What I'm missing.Can you look please?
Can you tell us at least where the error occurs?
Error is line 88 in herkulex.h file
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...