Determining the darkness level with analog inputs and the mraa library