Is there a ready-to-use USB (Serial) to Digital I/O firmware for Arduino?

I am interfacing some devices with digital signals through optocouplers to an x86 PC, so I need something like a DAQ device to do the conversion between USB to digital input/output. Since those ready-made DAQs are quite expensive and maybe an overkill (I need about 10 digital outputs and 2 digital inputs in total and that's it), I decided to use Arduino instead. However for now I don't quite wanted to program the firmware myself and are looking for a ready made firmware that comes with an API (send commands according API to switch the IO port state, or even better, configure input/output direction). I searched a bit but seems like there is not, so any recommandations? Thanks.

Check out the firmata firmware for Arduino. It sounds like this is exactly what you're looking for:

pert:
Check out the firmata firmware for Arduino. It sounds like this is exactly what you're looking for:
GitHub - firmata/arduino: Firmata firmware for Arduino

Thanks, seems like that's exactly what I want.

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per