I want to retrieve information from an ADXL202 acc. sensor.
The ADXL displays the acc. with the duty cycle from an pwm output.
Since the acc. should be measured in a robot, there is not a big timeframe left over for this.
I know this is a beginner question, but on which port of an mega 8 should I put the output of the sensor and what would be a good strategy to measure the duty cycle?