SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By jpc
#105417
Hi,
I am interested in using this sensor (with a mega328) for altitude logging, but I have no experience with coding SPI. Any chance somebody might have a snippet of C code that shows how to talk to this sensor using SPI?

I don't mind learning SPI, but it is always nice to be able to start with a working application.

thanks in advance for any help,
Phil in Austin