awesomepanda wrote:I know we can use "comp" to create hal component easily.But I want to use C to write a component.
Why? I write a lot of drivers for LinuxCNC, I use comp wherever possible, not just for convenience, but for maintainability.
Can some people offer a list of the funtions and their use in the header files that I mentioned above.
The documentation is the source code, in this case. Your only choice is to download the source, and read it. (or look at it on gitweb)
I never heard "git" before ,and not familiar with it.It seems that andypugh offered me the source code of the PID component by using it.Can I find the header files there ?I tried ,failed.
git.linuxcnc.org
click "tree" for the LinuxCNC version you are interested in.
look in src/rtapi