Did you remember to make the pin an output?
Please feel free to chip in with details. Code, schematic, you know, the usual.