Why won't this sketch work? Using a potentiometer with a motor shield

No, that's not it. Like I said I'm pretty familiar with using a pot. Even before I ever had an arduino I had electric guitars, lots of them. Besides, I checked with a meter and I was getting a nice variable voltage with my meter, just not on the serial monitor. Maybe my arduino sustained some damage when I burned out that H-Bridge, because the sketch is right as well. Is that possible, for just one part of the IC to be affected? I have an olimexino stm32 that could stand in should this be in need of a new microcontroller. I also have a brand spanking new Mega2560 that I haven't used yet