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

1 Ansicht (letzte 30 Tage)

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

Antworten (0)

Kategorien

Mehr zu Embedded Coder 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