MCP4231 Digital Potentiometer Circuit

Thanks for trying to help me Grumpy_Mike. As for replay #7, I did what you told me. Also did what you told me for #13. Even though I did what you suggested I may have done other things wrong in the code. By the way--I am not copying and pasting. The only time I copied and pasted was with runaway_pancake's post. My brain is engaged and in high gear. I have some more things to say about TomGeorge's post, please check my reply to him.