the gas cap WILL set off a code however when this happend to me even after i put on a new gas cap the light would NOT go off until i cleared it with an OBD reader.
I suggest you get one, they are well worth the money.
I have this one
http://www.roeracing.com/ProductCart...p;idproduct=76
Good luck