Arduino Mega / I2C problem

9 Ansichten (letzte 30 Tage)
Matthias Lederbogen
Matthias Lederbogen am 22 Sep. 2022
Kommentiert: Arun Kumar am 4 Okt. 2022
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 Kommentar
Arun Kumar
Arun Kumar am 4 Okt. 2022
Hi Matthias,
Please try reinstalling the support package.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by