Update charLCD.py

Update, eliminated crash of example code after extended run time.
moved some routines to bbio/util.py so drivers can access them
Merge branch 'master' into experimental