public code to show how to detect lux by Arduino