bperrybap,Thank you very very much. Your reply is very helpful for me and the problem has been solved.I wonder why leonardo be designed like that? It has seperated pins for SDA and SCL on the board, but pin 2 and pin3 are still "occupied".
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16