# SSD1306\_I2C with Openmv cam H7 plus

**URL:** <https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511>\
**Category:** OpenMV Boards\
**Created:** [July 4, 2023, 1:05pm UTC](https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511 "2023-07-04T13:05:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![udhai](https://avatars.discourse-cdn.com/v4/letter/u/41988e/32.png) [@udhai](https://forums.openmv.io/u/udhai)\
**Post date:** [July 4, 2023, 1:05pm UTC](https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511/1 "2023-07-04T13:05:46Z")

</div>

How can i interface ssd1306 oled display with openmv cam with I2C communication.  
The display size was 128\*64

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 4, 2023, 6:20pm UTC](https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511/2 "2023-07-04T18:20:39Z")

</div>

> <https://github.com/stlehmann/micropython-ssd1306/blob/master/ssd1306.py>

---

<div class="post-metadata">

**Author:** ![udhai](https://avatars.discourse-cdn.com/v4/letter/u/41988e/32.png) [@udhai](https://forums.openmv.io/u/udhai)\
**Post date:** [July 5, 2023, 4:23am UTC](https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511/3 "2023-07-05T04:23:05Z")

</div>

Thanks ! for answering but while using this library i get an error message " ‘I2C’ object has no attribute ‘writeto’ "  
i am working with openmv cam h7 plus  
here i attached the screen shot

 ![Screenshot 2023-07-05 094533](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/3/352ff475fc69b2695bfa784f7edc9725830b25ce.png)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [July 5, 2023, 5:35pm UTC](https://forums.openmv.io/t/ssd1306-i2c-with-openmv-cam-h7-plus/8511/4 "2023-07-05T17:35:00Z")

</div>

You need to pass the machine module: [class I2C – a two-wire serial protocol — MicroPython 1.19 documentation](https://docs.openmv.io/library/machine.I2C.html)
