I am a beginner when it comes to coding and all the nuances that come with the trade.
I have been trying to acquire a Device ID from a pressure sensor so I can plug and play with these devices. I would like to be able to have a device be plugged in and it be read. I want the pressure, Device ID, and what kind of pressure get written to a LCD. I can get the device to give me the pressure with a formula written in the datasheet. This is the data sheet I am using(http://www.nxp.com/documents/user_manual/UM10204.pdf) on page 21, to try and get the device ID to be spit out. I cannot seem to understand what it is saying. I have tried to acquire some code found on here and put them together, but it seems that this is out of my depth. I would love some help to get this to work.
The_one_that_works2.ino (3.51 KB)