thank you, i will try that Am Sonntag, 2. Juli 2017 11:24:06 UTC+2 schrieb Schooner: > > > On 01/07/17 19:20, Sag ich Dir nich wrote: > > Hello, > > > > i tried to compile a file to use an Arduino Mega as io expansion > > ( > https://forum.linuxcnc.org/18-computer/23166-arduino-i-o-with-linuxcnc?limitstart=0) > > > > but it does not seem to compile the file. > > Thought it sounded familiar. > > I wrote that 5 or more years ago, just to demonstrate passing a bunch of > pin values Arduino / HAL component > It does not really do much and would need changing for the specifics of > whatever you want to do. > > > > > i do > > > > cd /home/machinekit/Desktop > > > > sudo comp --install serialreceive.comp > > > > <SNIP> > > > > so i added "loadrt serialreceive" to my hal file and when i start my > > machine it gives me an error: > > It is a userspace component, use loadusr > > > > > > > CRAMPS.hal:23: insmod failed, returned -1: > > do_load_cmd: dlopen: serialreceive.so: cannot open shared object file: > > No such file or directory > > There is no serialreceive.so, it is an ELF binary userspace file, so it > will be in /usr/bin. > > Needs to be loaded with `loadusr -W serialreceive` from a suitable point > near the end of your hal file. > > >
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
