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 CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by