Go to advanced search

by vidalsasoon
Sun Sep 27, 2015 1:46 pm
Forum: Windows 10 for IoT
Topic: i2cdetect
Replies: 4
Views: 2154

Re: i2cdetect

I didn't find one for C# so I made a primitive one. Basically it tries to read some data from each address and returns either "success" or "failed" for the hex address. public async Task<bool> FindI2CAddressesAsync(Func<Message, Task> onMessageReceived) { string aqs = I2cDevice.GetDeviceSelector("I2...
by vidalsasoon
Sun Aug 16, 2015 1:57 pm
Forum: Windows 10 for IoT
Topic: Any experiences with Adafruit 16-channel servo driver?
Replies: 12
Views: 2812

Re: Any experiences with Adafruit 16-channel servo driver?

I was also having issues with this on my Pi. I think the problem was that the IoT core API was returning IAsyncOperation<T> instead of Task<T>. I'm no async expert but that seemed like a mistake. My Pi code is in an API where I don't care about UI threads so that's why there's "ConfigureAwait(false)...

Go to advanced search