OK It's working NOW
My module only outputs uppercase even if I send lower case SMS
Strange but true. I think it's a setting on the module.
I changed this line
It is possible to use PortA for Analog as well as digital inputs.
The technique is to configure the port to analog read ther ADC and the configure the port back to digital.