Have you used this shield before?
No.
Can you help with the problem I am asking about instead of picking apart every other aspect of the sketch?
I'm trying, but when I see what look to me like fundamental errors in the sketch, I can't seem to get past them. Sorry.