Need help reading I/O ports

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

Double post → All replies here.

http://www.sparkfun.com/cgi-bin/phpbb/v … php?t=1643

This is the code forum, when you have got a working setup, come back and post detailed version of it for all to see. Happy amteling