robertalexa2000 opened a new pull request, #7466: URL: https://github.com/apache/incubator-nuttx/pull/7466
Add support for the LTR308 ambient light sensor through I2C. Currently, the interrupt-driven mode of operation is not supported. Signed-off-by: Robert-Ionut Alexa <robertalexa2...@gmail.com> ## Summary This commit adds support for a light sensor through I2C bus. By default, its working operation mode is by polling. An interrupt-driven mode can also be enabled but the current code does not support this. The driver provides an API for getting and setting various registers, as well as obtaining the light intensity in lux. The user can interact with the sensor's registers by ioctl command issued through a char device. ## Impact ## Testing I have manually tested it using a sample application for which I'm opening a separate pull request on the apps repository. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org