grove: modify Grove light sensor library and example

Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>