I'm having the same issues with my TC74 sensor. I'm new to the C# world. Could you post your entire VisualStudio solution? So I could learn from it? Thanks.
namespace TCN75A example{ public class Program { private static Byte[] rxbuffer = new Byte[2]; private static I2CDevice tempSensor; private static int tempReg = 0; private static float tempValue = 0; public static void Main() { tempSensor = new I2CDevice(new I2CDevice.Configuration(0x48, 400)); I2CDevice.I2CTransaction[] settings = new I2CDevice.I2CTransaction[] { I2CDevice.CreateWriteTransaction(new Byte[] { 0x01, 0x60 }), }; tempSensor.Execute(settings, 500); TimerCallback tempDelegate = new TimerCallback(tempRead); Timer tmrTemperature = new Timer(tempDelegate, null, 0, 60000); public static void tempRead(Object currentTime) { I2CDevice.I2CTransaction[] rd = new I2CDevice.I2CTransaction[] { I2CDevice.CreateWriteTransaction(new Byte[] { 0x00 }), I2CDevice.CreateReadTransaction(rxbuffer) }; tempSensor.Execute(rd, 500); tempReg = rxbuffer[0]; tempReg = tempReg << 8; tempReg += rxbuffer[1]; tempReg = tempReg >> 4; tempValue = (float)tempReg / 16; } } } }