Author Topic: gp2d12 sharp sensor  (Read 2966 times)

0 Members and 1 Guest are viewing this topic.

Offline mahdiTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
gp2d12 sharp sensor
« 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?

Offline benji

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: gp2d12 sharp sensor
« Reply #1 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
good ol' BeNNy