Programming GPIO pins on a FINTEK F81866A chipset
问题 I have a Cincoze DE-1000 industrial PC, that features a Fintek F81866A chipset. I have to manage the DIO pins to read the input from a phisical button and to set on/off a LED. I have experience in C++ programming, but not at low/hardware level. On the documentation accompanying the PC, there is the following C code: #define AddrPort 0x4E #define DataPort 0x4F //<Enter the Extended Function Mode> WriteByte(AddrPort, 0x87) WriteByte(AddrPort, 0x87) //Must write twice to entering Extended mode /