Unsold items that were donated

Can I deduct items that did not sell and were donated to Goodwill?