How to use I2C for Tiva TM4C123G Launchpad for a ADXL-345 accelrometer.

4 次查看(过去 30 天)

Hello Everyone,

I want to do the basic I2C interface using ADXL_345 accelrometer using matlab simulink. I followed a video for aurdino (https://www.youtube.com/watch?v=G5ql23PaC_Q) from youtube to do exactly same,In the video,he was doing it by creating an S.function using some files which are availabe within aurdino library(like twi.h & twi.c) but not for Tiva (Energia library) or maybe Energia renamed the files as it supports the I2C for texas boards.

Kindly help out here,

if anyone knows how to do it ,Kindly do the needful here

Regards

sajad Rather

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Embedded Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by