#GPIO, #I2C or SPI code is mostly found in the #MCU area. (Greetings from #arduino )
Linux device interface is great too to make #raspberryPi and friends hw-dev platforms.
But what happened to Windows?
I couldn't find any common driver interface to talk to GPIO pins or I2C/SPI devices.
But there is the #FT232H chip and its high-level #libmpsse library.
So this is now "my way to go" with GPIO stuff on Windows.
First wrapper library draft is ready and my #SSD1306 display works, but its quite slow.
@gatelinker It's a good idea, but at this point you can get a basic STM32/ESP32 for the same price as a FT232H, and have an Arduino-based processor there that you can send signals to over USB.

@algaeman You are definitely right that STM and ESP devices can outperform FT232H in features and price.
But I am searching for generic or standard software interfaces. The idea is: I compile my C software for windows or linux, and the user just needs to plug in fresh hardware and run it.
With microcontrollers there is the additional step of flashing some proxy code on a chip, before I can control its I/O from remote.

However, its just an experiment. It might fail in regards of plausibility 😉