Marius,

You can either use HAL signals with the nicer to read names or properly 
named variable names in a Python HAL file.

e.g.
furaday_di_0 = hal.Pin('bb_gpio.out-02.value')
furaday_di_0.set(1)

Am Sonntag, 16. April 2017 21:23:34 UTC+2 schrieb Marius Alksnys:
>
> Hello all, and Happy Easter :) 
>
> I was happy using alias command to make Furaday cape for BeagleBone HAL 
> files much cleaner / easier to use, like this: 
> fur.di-0 
> fur.do-2 
> fur.ai-3 
> fur.ao-1 
> fur.ao-1.enable 
> fur.ao-1.scale 
> ... 
>
> Until newer machinekit version came up, which surprisingly says: Unknown 
> command 'alias'. 
>
> Those aliased pin names correspond to on-board markings. This way 
> integrator can concentrate on wiring to the board and HAL files instead 
> of looking at numerous datasheets for BB pin numbers, etc. 
>
> You can take a look at provided Furaday cape config helper / template 
> files at the bottom of the product page: 
> http://www.robotise.lt/hardware-for-beaglebone/8-furaday-cape-1-2.html 
>
>
> What would you recommend to get back some happiness: to convince 
> machinekit community to get alias command back to life or to use some 
> other command or workaround? 
>
>
>

-- 
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.

Reply via email to