Advanced temperature and humidity program example for Hexiwear featuring OLED Display

Dependencies:   Hexi_OLED_SSD1351

This project demonstrates the use of the HTU21D temperature and humidity sensor embedded in Hexiwear

Compile the project and copy the binary "Hexi_Humid_Temp-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 temperature and the humidity values will be displayed in real-time on the OLED Display.

/media/uploads/GregC/hexi_temphumid.jpg

Committer:
GregC
Date:
Mon Oct 17 03:50:35 2016 +0000
Revision:
0:8bb615a783ed
Advanced temperature and humidity program example for Hexiwear featuring OLED Display

Who changed what in which revision?

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