Donny9 commented on pull request #2907:
URL: https://github.com/apache/incubator-nuttx/pull/2907#issuecomment-785023389


   > Hi @Donny9 yesterday @phfbertoleti asked me about the idea of modifying 
the bmp180 driver to return pressure and temperature, but I noticed that the 
register function only will register a single sensor type. Is it possible to 
use this new sensor subsystem for composite devices like the bmp180?
   
   Yes, we can register composite sensors currently by new sensor driver model, 
you can refer to the wtgahrs2 driver 
https://github.com/apache/incubator-nuttx/blob/master/drivers/sensors/wtgahrs2.c.


----------------------------------------------------------------
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.

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


Reply via email to