changed char conversion to python 2.7 and added brickpi imports and motro settings