PnCConf with RPI 4 and Mesa 7C81

More
20 May 2024 19:00 - 20 May 2024 19:08 #301023 by Marvin_Maverick
Replied by Marvin_Maverick on topic PnCConf with RPI 4 and Mesa 7C81

how to hand edit input output (GPIO) in hal and ini? 
please give me one example.
Thanks!!!!!
 



I am not sure if I undestand your question correct; but:
The *.hal and *.ini-files are plain text-files. you can edit them using any editor (notepad++ for instance).
I attached an excample for a *.hal- and *.ini-file. These excamples are for a RaspberryPi5 using only the GPIO-Port (useing the "Generic driver for any GPIO supported by gpiod" described here: linuxcnc.org/docs/stable/html/drivers/hal_gpio.html)

I hope this is helpfull.
Attachments:
Last edit: 20 May 2024 19:08 by Marvin_Maverick.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 May 2024 22:46 #301041 by tommylight
Replied by tommylight on topic PnCConf with RPI 4 and Mesa 7C81
Word of caution, never use Office suits to edit machine files, use only text editors like Marvin mentioned, or GEdit, XED, mousepad, geany, nano, etc

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.283 seconds
Powered by Kunena Forum