mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems

Repository from Github https://github.commcci-catena/Catena-Arduino-PlatformRepository from Github https://github.commcci-catena/Catena-Arduino-Platform

Disable 24-bit mode for LargeWhite light in Si1133 driver

dhineshkumarmcci opened this issue · comments

The LargeWhite configuration is set to 24 bit mode by default, this has to be set to false by default.

Catena_Si1133::ChannelConfiguration_t()
.setAdcMux(Catena_Si1133::InputLed_t::LargeWhite)
.setSwGainCode(7)
.setHwGainCode(4)
.setPostShift(1)
.set24bit(1)
.setCounter(Catena_Si1133::ChannelConfiguration_t::CounterSelect_t::MeasCount2),