Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

I2C_Scan_Problem

$
0
0

Hello everyone.I am trying to learn I2C device adress of my MPU6050 sensor by using Ardunio I2C scan code in Energia.But although the code doesn't give me any error,on serial monitor I see all registers from 0x01 to 0x7E.I should see one register but I see all register on serial monitor like below...

Scanning...
I2C device found at address 0x01  !
....
....
....
I2C device found at address 0x7D  !
I2C device found at address 0x7E  !
done
 
The code that I have used is http://playground.arduino.cc/Main/I2cScanner.
 
I am sure about connections between my sensor and my msp430g2553.I used 4.7k pull up resistors with SDA and SCL pins.
 
What do you think about my problem ? 
Thanks in advance.

Viewing all articles
Browse latest Browse all 2077

Trending Articles