SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By ratio
#6919
Hi,

I'm a real novice to all this. Can anyone give me a simple code to get information from the Sharp gp2d12 sensors? I just need to be able to setup the port for input and to read in the values so I can use them.

Thanks