okay thank you very much! :) Am Sonntag, 2. Juli 2017 12:34:26 UTC+2 schrieb Schooner: > > > On 02/07/17 11:13, Sag ich Dir nich wrote: > > okay thank you :) so the serialreceive output pins are actually input pins > to Linuxcnc? > > > The terminology is confused > > An input pin receives a signal, an output pin sends one. > > I mean i can basically connect a switch to the arduino and when i flick > the switch it does something in Linuxcnc? > > Yes, the output pin in the component, can be netted to an input pin in > Machinekit and any change to the state of the relevant arduino pin > is reflected in Machinekit > > but first i need to get an Arduino :) > > > That would greatly assist !!! > > > Am Sonntag, 2. Juli 2017 12:00:14 UTC+2 schrieb Schooner: >> >> >> On 02/07/17 10:43, Sag ich Dir nich wrote: >> > As far as i can see, all Pins are outputs, can i set them to input >> > via config-pin or do i have to change the file and compile again? >> The pins are output pins, because that is what the component does. >> >> The arduino publishes the values held in its GPIO and the component >> reflects those in its array of output bit pins, which can then be >> connected to whatever in HAL >> so that the change in arduino pins causes an action in HAL. >> >> I don't know what config-pin is, if you want input pins so as to write >> TO the arduino, you need to completely rewrite both the arduino script >> and the component. >> > -- > 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] <javascript:>. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > >
-- 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.
