PLUS+1 Tools > PLUS+1 and C

Compiled code packages

<< < (3/4) > >>

radioact:
The short:
Looks like a friendly warning from the compiler, if you are copying the example code from the sauer doc then it would be expected since in the first example they don't use all the parameters passed. Looks like it compiled fine. Did it work?


The long:
The compiler is wondering why you would have a function with a parameter that you never use? If you don't use a parameter then best coding practice would be to remove that parameter from the function. Since we have limited control about how the functions in our class are written it has to stay that way. The 'self' parameter is a pointer to the current instance of the class used for accessing member data and methods.


Tyler

Quax76:
Hi Tylor,

thanks for your reply.
I did understand it in that way too, but when I'm trying to implement the class to plus1, there is an error during compilation.


Uploaded with ImageShack.us
Because there are no detailed informations, the next step in error searching was to eliminate the cl2000 compiler warning.
Rofl

radioact:
I haven't had any time to work on this so I am not sure what is going on here. I will try the example out here when I get a chance.

What would be super awesome is the sample code that is discussed in the how to doc to be made available to download so i don't have to type it all out...

Also any word on CCPs for the DP600 series displays? This is where I would use most of my CCPs for communicating with remote monitoring devices.


Tyler

metalninjadragon:
I haven't seen this problem occur yet, I'm working in a very similar environment.
I would note that you can install the code limited version of TI's code composer, use a standard makefile and a working CDT.

As the compilation looks correct it's probably in the way you've linked it in. Can you post some screenshots of your graphical integration?

Quax76:
I created a blank project with the controller shown in the excample.





I'll show the source code in a separate new thread...

For creating the zip file I used jZip and included the idl and lib file


Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version