The distance is measured and a message is constructed into a surface that is then blitted
onto the display. The graphical representation is created by drawing a fixed-size green rectangle and then drawing a red rectangle on top of it whose width depends on the distancesensed by the range finder.