I got one of these from Amazon, for around $20-$23.00. Not needed it yet for my truck, but have helped a friend or two with their check engine lights. It will clear codes too. Some parts stores might put their code reader on it for you.
Autel (MaxiScan MS309) OBD-II Code Reader / Scan Tool