n_vikranth
Newbie level 3
I planned to interface ADXL345 with ATmega16A using SPI bus... iam using mikro c pro compiler and I have one doubt in compiler that to write and read from ADXL345 I used predefined library from compiler.
But to write data and address towards adxl345 we have only same command that
SPI1_Write(data); how to write data and address…
If u know kindly tell me how to send address and data towards ADXL345 using 3-wire SPI bus
And using the library files from mikro c pro compiler….
But to write data and address towards adxl345 we have only same command that
SPI1_Write(data); how to write data and address…
If u know kindly tell me how to send address and data towards ADXL345 using 3-wire SPI bus
And using the library files from mikro c pro compiler….