Compilation errors in OneWireBus after move from 4.1 to 4.2

OneWire used to live in GHIElectronics.NETMF.Hardware in 4.2. I can’t find it in 4.2 - though I can find a similarly named class in Microsoft.Spot.Hardware.OneWire.

Is that the replacement? The structure of the class is a little different.

Thanks.

Hi Matthias,

in 4.1, GHI used to be the only netmf offering that had onewire. This was then contributed into the mainstream netmf code base for everyone to leverage in 4.2, so you will have to move to the netmf code. That’s certainly the reference you’ll need… I haven’t looked lately but suspect there’ll be a 4.2 code example on codeshare that might make your task a little easier

Thanks again. I guess that was what I needed to do. The class is somewhat different and will require a bit of work to port my usage of it - I just wanted to check I was going in the right direction before I wasted time on it.

And I will post it up when it’s done!