I have an ADXL345 and an Arduino Uno. I am trying to gather data from the ADXL345, but I am not able to write the program for it, or understand existing codes because of my low programming knowledge.
What kind of things from the Simulink library can I gather and turn into a block diagram in order to upload the model to the Arduino and thus bypass the programming?
As far as i know it is not yet possible to directly write a programma in simulink to read an adxl345 sensor. This is due to the fact that you need to use I2C or SPI to read the sensor. Tutorials to write programs for I2C or SPI communication can be found at http://bildr.org/2011/03/adxl345-arduino/ and ADXL345 Hookup Guide - learn.sparkfun.com. both have workt great for my.