changed some pins (to fit for arduino mega)
and added some printlines in writeStaticText()