Still does not work.
Thanks for replaying gilshultz. I had the MCP4231 hooked up to the two individual pots contained in the IC. The two pots drove both LEDs. One red LED would come on then go off. Then a green LED would come on then go off. Then the red LED would come on then go off. Then the green LED would come on and go off. This process looped. So I know the pots will drive LEDs. I have simply eliminated the RED LED in the code.