# Daisy-7 examples by Federico Lolli

## C language

This first example available in the [Playground](/playground) gets data from gyro, accelerometer, magnetometer, barometer and GPS and shows them on the console terminal.

@pg='c/daisy7/main.c'

To compile it probably you need to install the C++ compiler and Make utility by typing:

<pre class="minicom">
debarm:~# apt-get install g++
...
debarm:~# apt-get install make
...
</pre> 

Then launch the C++ compilation by typing: 

<pre class="minicom">
debarm:~# cd playground/c/daisy7                                                
debarm:~/playground/c/daisy7# make clean
...
debarm:~/playground/c/daisy7# make
</pre> 

Now launch the data acquisition from the Daisy-7 sensors (insert the Daisy-7 on Daisy D1 connector):

<pre class="minicom">
debarm:~# ./main
</pre>

# Attitude and Heading Reference System

* [FOX AHRS demo system  by Federico Lolli](/AHRS). Open source software demo that integrate data incoming from the 
DAISY-7 gyroscope, accelerometer and magnetometer using a [Kalman filter](http://en.wikipedia.org/wiki/Kalman_filter) 
and provide a stream of orientation/position data on USB gadget port, serial port, UDP socket. The software include a windows based graphic user interface that shown all data in real-time.

<a href="/AHRS">
<img src="./screenshot.jpg" border="0"/>
</a>   

* [Video demo](http://www.youtube.com/watch?v=geGgnbE5R3c)

# Kernel with I2C at 400khz

* Kernel 2.6.35.4  [daisy7_linux-2.6.35.4-ahrs.tar.bz2](http://github.com/FedericoLolli/Kernel_Fox_AHRS/linux-2.6.35.4-ahrs.tar.bz2)

@shop='DAISY-7'
@shop='DAISY-7-L'
@shop='GPSANT'
@shop='FC-19818-10P-FF'
@shop='JJ-02291-10P-F'
@shop='FC-3754-1M'
@shop='SPM2X4'
@shop='BSP2X5'
@shop='COMBO-2'
@shop='DAISY-1'
