You don't say what you've got hooked up to the port pins. Could you post a schematic?