Ambiant light sensor controler

The module described here make it possible to retreive the ambiant light value from the PmodALS device.

( figure source)


This module constantly outputs the last measured value on the light sensor. To refresh this value, set the refresh input during at least one clock cycle.

As long as the refreshing output is high ( = '1' ), the data value is meaningless.