Clear Filters
Clear Filters

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

4 views (last 30 days)

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

Answers (0)

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!