Is there a way to write a program to output ON/OFF/ON/OFF sequence to one of USB, RS-232, or Parallel port? The On probably will be 5V or is "close circuit", and Off will be 0V or is "open circuit".
Can the frequency be very high? This can be achieve long time ago by using TTL chips and a "clock", and programming in Microcode, which is lower level than Machine Code. On a PC, can this be done?