SLAU599B August 2015 – July 2021
This demo uses the MSP432 built-in eUSCI module in I2C mode to initialize and gather data from the digital ambient light sensor, OPT3001, on the Educational BoosterPack plug-in module MKII (see Figure 3-3). The measured illuminance value (Lux) is displayed on the colored 128x128 dot-matrix LCD of the BoosterPack plug-in module. Using MSP Graphics Library, the MSP432 MCU sends data to the LCD controller through SPI communication to draw texts.
The demo also controls the brightness of the LCD backlight LED by generating a Timer PWM.
Make sure that the J5 jumper on the BOOSTXL-EDUMKII is connected to 3.LCD BACKLT
The demo makes use of the illuminance value by brightening the LCD backlight when high illuminance value is detected, or by dimming the LCD backlight when low illuminance value is detected.