- Main Page
- Files

# C:/Users/Michael/Desktop/trunk/program/demo/rungrounddirection.c File Reference

Showing the ground direction. More...

`#include "math.h"`
`#include "stdlib.h"`
`#include "a_d/advance_ad_scan/e_ad_conv.h"`
`#include "a_d/advance_ad_scan/e_acc.h"`
`#include "motor_led/e_epuck_ports.h"`
`#include "motor_led/e_init_port.h"`
`#include "rungrounddirection.h"`

## Functions
void | run_grounddirection (void)
| The "main" function of the demo.

## Detailed Description

Showing the ground direction.

## Introduction

This programm works with the accelerometer to show you the ground direction by turning on the appropriate LED.

## Playing the demo

First of all, move the selector to the position 3 and reset the e-puck. Now take the e-puck in the hand and turn it with the Z axis horizontal.

## Video of the demo

The video of this demo: http://www.youtube.com/watch?v=a_4eymEv4bs

Author:
  Code: Lucas Meier
  Doc: Jonathan Besuchet