user41678: I want to declare SCL and SCK pins like   Wire.begin(sda_pin, scl_pin); to use with ESP8266 to integrate a MPU 9250/6500 sensor.
I can't figure out a way to declare that in this code exaample provided by https://github.com/bolderflight/MPU9250 
in the example of the above it has just passed as Wire to and created object like MPU9250 IMU(Wire,0x68); which was meant to be used with UNO boards(as I think)
And in any case if any of you have seen a library that can be used with the ESP8266 for the MPU 9250/6500 point me on that direction please (I'm trying to get the roll, pitch, yaw)

user37622: You can use Wire.pins(sda, scl); before IMU.begin();.
IMU.begin() then calls Wire.begin() without parameters.

41678: <p>I want to declare SCL and SCK pins like   <code>Wire.begin(sda_pin, scl_pin);</code> to use with ESP8266 to integrate a MPU 9250/6500 sensor.
I can't figure out a way to declare that in this code exaample provided by <a href="https://github.com/bolderflight/MPU9250" rel="nofollow noreferrer">https://github.com/bolderflight/MPU9250</a> </p>

<p>in the example of the above it has just passed as <strong>Wire</strong> to and created object like <code>MPU9250 IMU(Wire,0x68);</code> which was meant to be used with UNO boards(as I think)</p>

<p>And in any case if any of you have seen a library that can be used with the ESP8266 for the MPU 9250/6500 point me on that direction please (I'm trying to get the roll, pitch, yaw)</p>
 37622: <p>You can use <code>Wire.pins(sda, scl);</code> before <code>IMU.begin();</code>.
<code>IMU.begin()</code> then calls <code>Wire.begin()</code> without parameters.</p>
