Advanced Click Buzzer example for Hexiwear featuring OLED Display and Touch

Dependencies:   Hexi_KW40Z Hexi_OLED_SSD1351 PWM_Tone_Library

This project demonstrates the use of the Mikroelektronika Click Buzzer module with hexiwear featuring Display and Touch

Plug Hexiwear into the Docking Station and the BUZZER Click to the Click Socket 1
Connect the USB cable to your computer and to the micro-USB port of the Docking Station

Compile the project and copy the binary "Hexi_Click_Buzzer_Example-v2_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
Touch the Hexiwear Electrode located on the right below to the start icone

The buzzer will start play a melody of 32 tones

/media/uploads/GregC/hexi_click_buzzer-v2.jpg

Committer:
GregC
Date:
Fri Oct 07 22:43:31 2016 +0000
Revision:
0:ac3116125c60
Advanced Click Buzzer example for Hexiwear featuring OLED Display and Touch

Who changed what in which revision?

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