flyingbepi commented on issue #1697: NRF52 Thingy:52 board does not report 
sensors on I2C bus #1
URL: https://github.com/apache/mynewt-core/issues/1697#issuecomment-474357622
 
 
   The devices connected on the "second" IC2 bus are not powered on by default.
   So, the user needs to turn the Thingy:52 VDD power rail to enable I2C 
Sensors (Pressure, Humidity,..).
   This can be done this way:
   
   ``#define VDD_PWR_CTRL_GPIO_PIN 30``
   ``....``
   ``/ / Turn on Sensors Power Rail (VDD)``
   ``hal_gpio_init_out(VDD_PWR_CTRL_GPIO_PIN, 1);``
   

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


With regards,
Apache Git Services

Reply via email to