Qwiic Ambient Light Sensor (VEML6030) Hookup Guide

Pages
Contributors: Elias The Sparkiest
Favorited Favorite 1

Example 4 - Power Save Mode

I won't break down this example code because you have all the necessary tools to get you started with the Ambient Light Sensor. However, if you plan on continuously reading ambient light data then give this sketch a try. It'll show you how to put the board into power save mode, which will save you battery life while still getting ambient light data. Check the Power Save Mode section under Hardware Overview as a reference when looking at the sketch.