Hi Brian, As an alternative to using an Arduino as IO extender you can also I2C ICs that do the job for you: https://github.com/machinekit/machinekit/blob/master/src/hal/user_comps/hal_gpio_mcp23017.py https://github.com/machinekit/machinekit/blob/master/src/hal/user_comps/hal_pwm_pca9685.py https://github.com/machinekit/machinekit/blob/master/src/hal/user_comps/hal_temp_ads7828.py
Regarding Python3 - the newer Python parts of Machinekit are already written with Python3 in mind. Using the pep8 tool, it is not very hard to write Python 3 and 2 compatible code. However, there are parts of Machinekit such as axis and the linuxcnc library which are native CPython implementations. To support Python3, someone would need to rewrite these parts of Machinekit e.g. with Cython. Given the fact that Python 2 is still very supported and will be in the future porting any legacy libraries seem to be unnecessary work. Am Sonntag, 16. April 2017 01:21:31 UTC+2 schrieb Brian Schousek: > > I'm in the early stages of a Raspberry Pi/Machinekit controlled 3D printer > (see https://github.com/bschousek/piphat for some of the plans.) I'm > sitting down to start implementing an AVR IO extender based on a Firmata > Firmware > <https://groups.google.com/forum/#!searchin/machinekit/protobuf%7Csort:relevance/machinekit/mghEXsQ_s_U/8KuVaWzAzvoJ> > thread > from this group a few years back. My question is regarding the Python > version used by Machinekit: It looks from searches here and elsewhere that > Python 2 remains the lingua franca of Machinekit. Is this still accurate? > -- 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.
