# Makeblock i2c issue

**URL:** https://forum.makecode.com/t/makeblock-i2c-issue/5349
**Category:** micro:bit
**Created:** [January 4, 2021, 8:54pm UTC](https://forum.makecode.com/t/makeblock-i2c-issue/5349 "2021-01-04T20:54:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sowa-gregory](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sowa-gregory/32/2917_2.png) [@sowa-gregory](https://forum.makecode.com/u/sowa-gregory)
#### Post date: [January 4, 2021, 8:54pm UTC](https://forum.makecode.com/t/makeblock-i2c-issue/5349/1 "2021-01-04T20:54:42Z")

</div>

Hi all,  
For some time I own microbit v1.3 B. Recently I decided to introduce my daughter into “development” area by using MakeCode environment. The issue is that, i2c seems to not working for any of my i2c capable external modules (eg. LCD displays, temperature sensors). Of course the same modules works properly, when using micropython or DAL environment directly.  
For my experiments javascript functions:  
pins.i2cReadBuffer and pins.i2cWriteButter are used.

I was trying to debug problem at lower level, so the next step was to identify that file core/pins.cpp (part of pxt) is wrapper on top of… question is what (CODAL or DAL)? Or maybe both of them.

Can you please give me soem guideance how to proceed with debugging?

Regards,  
Gregory

---

<div class="post-metadata">

### Author: ![joshkeys19](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/joshkeys19/32/2182_2.png) [@joshkeys19](https://forum.makecode.com/u/joshkeys19)
#### Post date: [January 21, 2021, 4:41pm UTC](https://forum.makecode.com/t/makeblock-i2c-issue/5349/2 "2021-01-21T16:41:19Z")

</div>

Hi Sowa-Gregory,

Would you be able to share your code? I have used the I2C functions from blocks many times with no issue on the v1.3. Are you sure you aren’t using the same address as the built-in accel or magnetometer?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/4f156690e9a7735ffd24e3fba807336943779b8f.png)

Thanks,  
Josh

---

<div class="post-metadata">

### Author: ![dsssssssss9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dsssssssss9/32/861_2.png) [@dsssssssss9](https://forum.makecode.com/u/dsssssssss9)
#### Post date: [August 24, 2021, 11:07pm UTC](https://forum.makecode.com/t/makeblock-i2c-issue/5349/3 "2021-08-24T23:07:40Z")

</div>

Hi

Long time since you posted this I know but did you ever sort out your I2C problems ?
