Hi Antonio, As far as my understanding hal_gpio does not has not nor reset (as such Parport or Mesa), but you can adapt "not" function in your hal file and use not function to invert pins you need
example: add the following lines to your hal file ##################################### loadrt not count=3 # that means we need to invert 3 pins using alias not.0. and not.1. and not.2 each not has input (in) and output (out) so the first not input will be something like this (not.0.in) and the output will be (not.0.out) addf not.0 servo-thread #Man pages have something like not.all but when I test it I couldn't find it addf not.1 servo-thread. # instead of adding each function in a separate line addf not.2 servo-thread net dummy16 not.0.in hal_gpio.pin.16-in #then you can use the inverted pin value dummy16 = signal name does not effect our program you can name it what ever you like net estop-ext <= not.0.out # you can use not.0.out to the signal you want ##################################### As for reset you can simply send command to the output it self. On Monday, 23 October 2017 10:19:00 UTC+2, Antonio Bello wrote: > > Hi Mardini, > Thanks a lot, I'm able to set my input gpio pins now! > Only two doubts yet: > > 1) How can I set the "not" one? If I use > > net estop-ext <= hal_gpio.pin-16-in-not > > the machinekit tell me that hal_gpio.pin-16-in-not not exists > > 2) How can I set the reset of pin? If I use > > setp hal_gpio.pin-05-out-reset 1 > > the machinekit tell me that hal_gpio.pin-05-out-reset not exists > > Thanks in advance for your assistance. > > Antonio > > Il giorno sabato 21 ottobre 2017 22:24:05 UTC+2, Masoun Mardini ha scritto: >> >> or you can directly write binary numbers in loading hal_gpio comp >> >> loadrt hal_gpio dir=0x11111111111111010010101011 >> or >> loadrt hal_gpio dir=67105963 >> > -- 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.