Fixed delay loop cal. Added LCD rotate support.

Also removed unused LCD read test commands - no LCD read pin connected
in this project. Added delay loop cal test and fixed GPIO init wait.