On 4/20/2021 12:12 PM, John Dammeyer wrote:
I was looking at what is in my mill setup.sh and what is in a setup.sh Frederic
Ribble sent me for his lathe on the BBB. Notice one uses P8.12 and the other
P8_12
P8.12 out # gpio1.12 X_Step
P8_12 out # X Step / DB25.2
I suspect either will work but is there a preferred method? Searching with "BBB
setup.sh machinekit" doesn't provide any hits that make sense. Like this one was
2018. Is it too old or too new?
https://github.com/machinekit/machinekit/issues/1310
Should I care?
The issue is whether you're running the shell script version of
config-pin, or the newer compiled version. The shell script was written
to be pretty forgiving of pin number syntax and will accept a 2 or 3
digit numeric value, optionally prefixed by "p" or "P", and with an
optional separator (any non-numeric character) between the first digit
and any remaining digits. Two digit values are assumed to have an
implicit zero in the pin number (eg: 82 -> P8_02).
I believe the compiled version of config-pin is somewhat more picky
about naming conventions, but I haven't used it much.
--
Charles Steinkuehler
[email protected]
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/machinekit/1797068e-ac3b-5644-57dd-c010f03d0698%40steinkuehler.net.