Arduino Mega / I2C problem

12 ビュー (過去 30 日間)
Matthias Lederbogen
Matthias Lederbogen 2022 年 9 月 22 日
コメント済み: Arun Kumar 2022 年 10 月 4 日
Hi,
i try to use the I2C block to get values from a RTC modul (DS3231)
if I want to flash the hardware, the prozess stopps with following info:
C:/ProgramData/MATLAB/SupportPackages/R2022a/toolbox/target/supportpackages/arduinobase/src/MW_arduinoI2C.cpp:82:46: error: 'class TwoWire' has no member named 'setClock' ((mw_I2C_dev_h*)I2CModuleHandle)->I2Cobj->setClock(BusSpeed); ^~~~~~~~
the hard- an software packages are installed, all the other stuff works fine. i have only this communication problem
Version ist R2022a
have anybady an idea?
thanky for your help
greetings Matthias
  1 件のコメント
Arun Kumar
Arun Kumar 2022 年 10 月 4 日
Hi Matthias,
Please try reinstalling the support package.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by