Interface with hardware using a parallel, seriel or usb port

Hi guys

Can someone point me in the right direction as to how to go about writing a program that can communicate with hardware, in my case, a 7 segment display, through one of the mentioned ports.

A quick internet search couldn't really find me much and it all seems a bit confusing. Any help appreciated.
Topic archived. No new replies allowed.