Modifed i2c.read_from() to return number istead of string when reading single byte
Fixed sim detection on boot.