Advanced gyroscope program example for Hexiwear featuring OLED Display

Dependencies:   FXAS21002 Hexi_OLED_SSD1351

Fork of Hexi_Gyro-v2_Example by Hexiwear

This project demonstrates the use of the FXAS21002CQ Gyroscope sensor embedded in Hexiwear

Compile the project and copy the binary "Hexi_Gyro-V2_Example_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer Press the K64F-RESET button on the docking station to start the program on your board

The Roll, the Pitch and the Yaw values will be displayed in real-time on the OLED Display.

Committer:
GregC
Date:
Wed Oct 19 22:46:58 2016 +0000
Revision:
2:a041eec9ea8f
Parent:
0:2ebb70d2b0d9
Advanced gyroscope program example for Hexiwear featuring Display

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GregC 0:2ebb70d2b0d9 1 /* Hexiwear NXP Bitmap Images
GregC 0:2ebb70d2b0d9 2 * This file contains the bitmaps for the full screen (96 by 96 pixels) NXP logo
GregC 0:2ebb70d2b0d9 3 * and a smaller 96 by 32 pixels NXP logo.
GregC 0:2ebb70d2b0d9 4 *
GregC 0:2ebb70d2b0d9 5 * Redistribution and use in source and binary forms, with or without modification,
GregC 0:2ebb70d2b0d9 6 * are permitted provided that the following conditions are met:
GregC 0:2ebb70d2b0d9 7 *
GregC 0:2ebb70d2b0d9 8 * Redistributions of source code must retain the above copyright notice, this list
GregC 0:2ebb70d2b0d9 9 * of conditions and the following disclaimer.
GregC 0:2ebb70d2b0d9 10 *
GregC 0:2ebb70d2b0d9 11 * Redistributions in binary form must reproduce the above copyright notice, this
GregC 0:2ebb70d2b0d9 12 * list of conditions and the following disclaimer in the documentation and/or
GregC 0:2ebb70d2b0d9 13 * other materials provided with the distribution.
GregC 0:2ebb70d2b0d9 14 *
GregC 0:2ebb70d2b0d9 15 * Neither the name of NXP, nor the names of its
GregC 0:2ebb70d2b0d9 16 * contributors may be used to endorse or promote products derived from this
GregC 0:2ebb70d2b0d9 17 * software without specific prior written permission.
GregC 0:2ebb70d2b0d9 18 *
GregC 0:2ebb70d2b0d9 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
GregC 0:2ebb70d2b0d9 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
GregC 0:2ebb70d2b0d9 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
GregC 0:2ebb70d2b0d9 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
GregC 0:2ebb70d2b0d9 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
GregC 0:2ebb70d2b0d9 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
GregC 0:2ebb70d2b0d9 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
GregC 0:2ebb70d2b0d9 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
GregC 0:2ebb70d2b0d9 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
GregC 0:2ebb70d2b0d9 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
GregC 0:2ebb70d2b0d9 29 *
GregC 0:2ebb70d2b0d9 30 * visit: http://www.mikroe.com and http://www.nxp.com
GregC 0:2ebb70d2b0d9 31 *
GregC 0:2ebb70d2b0d9 32 * get support at: http://www.mikroe.com/forum and https://community.nxp.com
GregC 0:2ebb70d2b0d9 33 *
GregC 0:2ebb70d2b0d9 34 * Project HEXIWEAR, 2015
GregC 0:2ebb70d2b0d9 35 */
GregC 0:2ebb70d2b0d9 36
GregC 0:2ebb70d2b0d9 37
GregC 0:2ebb70d2b0d9 38 #include "stdint.h"
GregC 0:2ebb70d2b0d9 39
GregC 2:a041eec9ea8f 40 extern const uint8_t Gyro[];