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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org