fixed linesensor init function variable declaration and made file-scoped variables static
added spaces to deal with negative signs, initializing charArray with all zeros, found a Printf %s bug
added spacing to take care of inf and negatives; encountered an odd lock-up problem with the gpio demo