A simple and inexpensive circuit and a simple C program are all you need to turn your PC printer port into a programmable frequency generator. Using a few low-cost and readily available components, the circuit occupies little space and is easily attachabl
http://www.edn.com/article/CA170222.html