i am trying to write a code using Intel Sample for Grove TP401 GAS Sensor and as hardware also the SparkFun ADC Block which works on I2C. I see that SparkFun Block has a Lib.
Questions:
Do i have to use that Lib in order to use the block/shield? If yes, can you show me how to change (or tell me what should i do) the sample code to read from the Analog Input (let's say AIN0) from ADC Block?
Any help would be appreciated - sorry for stupid questions, i am a beginner. Thank You!