Sample code to talk to a I2C Temperature sensor device from windows 10 desktop application

Jayaprakash Nevara 1 Reputation point
2021-03-12T15:21:02.897+00:00

I am trying to experiment with Windows on Raspberry Pi 4.
Where I would be connecting a Temperature Sensor device through I2C interface.
I need to a user space application to read the temperature sensor data over I2C interface.

Could I get some reference code or documentation or some pointers to start working on this?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,609 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 81,636 Reputation points
    2021-03-12T16:12:39.443+00:00

    There is a sample in MSDN Inter-Integrated Circuit (I2C) sample
    (not tested)

    0 comments No comments

  2. Jenny Feng 14,076 Reputation points
    2021-03-15T07:05:14.7+00:00

    @Jayaprakash Nevara
    Hi,
    The issue is more related with I2C, please refer to the following link:

    https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/IoT-I2C

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.

    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments