I am trying to install ADT7420 digital temperature sensor to Arduino Nano.
I have written a sketch for Arduino UNO, it works on Arduino UNO very well.
But same sketch couldn't work on Arduino NANO
Could you kindly tell me what is wrong?
Please help me
#define ADT 0x48
xH = I2c.receive();
xL = I2c.receive();
celsius = double(long(word(xH,xL)) * 100/128)/100.00;
I use SCL as A5, SDA as A4.