Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: mahdi on August 29, 2008, 03:49:28 PM

Title: gp2d12 sharp sensor
Post by: mahdi on August 29, 2008, 03:49:28 PM
hi
I'm a beginner in avr programming that trying to use the ADC in ATMEGA16 to read the analog data from SHARP GP2D12  and need a c program for CodeVision compiler.can u show me how to connect this
sensor to avr and a LCD please?
Title: Re: gp2d12 sharp sensor
Post by: benji on August 29, 2008, 03:59:11 PM
there is an already built function in C to read the adc and the lcd
check the complier library for that