# VL53L0X multiple sensor integration on atmega2560

**URL:** https://forum.pololu.com/t/vl53l0x-multiple-sensor-integration-on-atmega2560/18511
**Category:** Sensors
**Created:** [December 19, 2019, 9:01am UTC](https://forum.pololu.com/t/vl53l0x-multiple-sensor-integration-on-atmega2560/18511 "2019-12-19T09:01:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Assassin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/a/ccd318/32.png) [@Assassin](https://forum.pololu.com/u/Assassin)
#### Post date: [December 20, 2019, 7:01am UTC](https://forum.pololu.com/t/vl53l0x-multiple-sensor-integration-on-atmega2560/18511/3 "2019-12-20T07:01:05Z")

</div>

So just give me some hint like in other simar topic I see same problem solved by using official library for arduino in which for every sensor an instance /object of VL53L0X was made but the c library I mentioned I can’t create an object so just give some clue how to progress  
Reference

> [@VL53L0X -- maximum sensors on I2C arduino bus](https://forum.pololu.com/t/vl53l0x-maximum-sensors-on-i2c-arduino-bus/10845/7):
>
> Here is my ArduinoCode I used with ProMini and Nano I could have saved my time by reading this earlier, which should be highlighted I suppose: The sensor’s 7-bit slave address defaults to 0101001b on power-up. It can be changed to any other value by writing one of the device configuration registers, but the new address only applies until the sensor is reset or powered off. I suggest to add this [white paper](http://www.st.com/content/ccc/resource/technical/document/application_note/group0/0e/0a/96/1b/82/19/4f/c2/DM00280486/files/DM00280486.pdf/jcr:content/translations/en.DM00280486.pdf) also to the product page #include \<Wire.h\> #include \<VL53L0X.h\> //#define XSHUT\_pin6 …

---

_[View the full topic](https://forum.pololu.com/t/vl53l0x-multiple-sensor-integration-on-atmega2560/18511)._
