Проблемы с подключением Troyka imu к Teensy 3.6

Тема в разделе "Arduino & Shields", создана пользователем _KVANT_, 12 мар 2018.

  1. _KVANT_

    _KVANT_ Нуб

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp: In member function 'void LPS331::begin()':

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp:26:3: error: 'WIRE_IMU' was not declared in this scope

    WIRE_IMU.begin();

    ^

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp: In member function 'void LPS331::writeReg(byte, byte)':

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp:34:3: error: 'WIRE_IMU' was not declared in this scope

    WIRE_IMU.beginTransmission(address);

    ^

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp: In member function 'byte LPS331::readReg(byte)':

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp:45:3: error: 'WIRE_IMU' was not declared in this scope

    WIRE_IMU.beginTransmission(address);

    ^

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp: In member function 'int32_t LPS331::readPressureRaw()':

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp:83:3: error: 'WIRE_IMU' was not declared in this scope

    WIRE_IMU.beginTransmission(address);

    ^

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp: In member function 'int16_t LPS331::readTemperatureRaw()':

    C:\Users\Хасанов Дамир\Documents\Arduino\libraries\Troyka-IMU-master\LPS331.cpp:119:3: error: 'WIRE_IMU' was not declared in this scope

    WIRE_IMU.beginTransmission(address);

    ^

    Ошибка компиляции для платы Teensy 3.6.



    Ошибку выдает на тестовом скетче imu