You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/16 12:41:32 UTC

[GitHub] [incubator-nuttx] robertalexa2000 commented on pull request #7466: drivers/sensors: add LTR308 ambient light sensor

robertalexa2000 commented on PR #7466:
URL: https://github.com/apache/incubator-nuttx/pull/7466#issuecomment-1316960398

   > @robertalexa2000 Please follow the driver model in driver/sensors/sensor.c, you can write driver by refer to ’drivers/sensors/wtgahrs2.c‘. it will register character node below /dev/uorb/. eg:/dev/uorb/sensor_light0
   
   @Donny9 Can this driver model be used even if currently the LTR308 does not support interrupt-drived mode? From my understanding, I don't think we can use this for a simple polling mechanism in which the user repeatedly reads the sensor's data.
   


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org