On Sat, 6 Jul 2019 at 18:07, Roland Jollivet <[email protected]> wrote:
> Now, if I used one pci-bridge 8255 type card and used all the I/O (A,B,C) > to support 3 encoders, could I use, say a Pic processor to read the encoder > and convert to 8bit data, and then; > These 8bits are presented to the 8255 ports so Lcnc can do a snapshot read > of the encoder values to close a servo loop. Do you know that LinuxCNC has an 8255 driver? You can be fogiven for not knowing, I see no sign of a mention in the docs, but here is the code: https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/pci_8255.c and "loadrt pci_8255" works. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
