What sensor are you using? Is it the 1108? If so, there is no code sample specifically for it because it's simply a 0-5V sensor. You can go to the product page for the 1108 and click on the code samples tab and select the device you're using to read the 1108 (e.g. 1018_3, HUB0001) to see how that device can get data from the 1108.