Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

doubt in using mikroc pro compiler....

Status
Not open for further replies.

n_vikranth

Newbie level 3
Joined
Nov 28, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
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….
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top