*****************************************************************************
** ChibiOS/RT HAL - I2CD1_LSM303DLHC_001 for STM32F30x.                    **
*****************************************************************************

** TARGET **

The demo runs on an STMicroelectronics STM32F3-Discovery board.

** The Demo **

This application sets up the two wires of MCU related to I2CD1 and establishes a
connection with the accelerometer of on-board MEMS LSM303DLHC. It configures and 
calibrates of MEMS, afterwards the application requests to the MEMS the values 
of X,Y & Z axis 4 times per second, following the application calculates the mean 
of every axis and sends this value on a virtual com port using Serial Driver 
over USB.

** Required libraries **

In order to use this demos you need to need "lsm303dlhc.h" & "lsm303dlhc.c".

** Build Procedure **

The demo has been tested using the free Codesourcery GCC-based toolchain
and YAGARTO.
Just modify the TRGT line in the makefile in order to use different GCC ports.

** Notes **

Some files used by the demo are not part of ChibiOS/RT but are copyright of
ST Microelectronics and are licensed under a different license.
Also note that not all the files present in the ST library are distributed
with ChibiOS/RT, you can find the whole library on the ST web site:

                             http://www.st.com
