linguini1 opened a new pull request, #15573:
URL: https://github.com/apache/nuttx/pull/15573

   ## Summary
   
   This PR converts the SHT4X driver to the UORB framework.
   
   ## Impact
   
   The impact is that one more sensor is part of the UORB framework, which 
unifies the way that sensors are interacted with under NuttX and provides lots 
of beneficial features such as configurable sampling rates and buffering for 
free from the UORB upper half.
   
   ## Testing
   
   To test, I compiled and built the driver for the Raspberry Pi Pico W and 
included the `uorb_listener` application. The driver correctly registers the 
two topics (relative humidity and ambient temperature) which produce 
measurements at the configured interval. I tested using multiple different 
intervals from 1Hz to 100Hz.
   
   ```console
   nsh> uorb_listener
   
   Mointor objects num:2
   object_name:sensor_temp, object_instance:0
   object_name:sensor_humi, object_instance:0
   sensor_temp(now:6690000):timestamp:6690000,temperature:23.424999
   sensor_humi(now:6690000):timestamp:6690000,humi:32.750000
   sensor_temp(now:7720000):timestamp:7720000,temperature:23.424999
   sensor_humi(now:7720000):timestamp:7720000,humi:32.750000
   sensor_temp(now:8750000):timestamp:8750000,temperature:23.424999
   sensor_humi(now:8750000):timestamp:8750000,humi:32.750000
   sensor_temp(now:9780000):timestamp:9780000,temperature:23.424999
   sensor_humi(now:9780000):timestamp:9780000,humi:32.750000
   ```
   
   I also verified that the Documentation compiles locally and looks correct in 
the browser.


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

Reply via email to