Example showing usage of text and image. Builds on the text example with a banner image at the bottom of the screen.
Dependencies: Hexi_OLED_SSD1351
Fork of Hexi_OLED_Text_Example by
images.h@4:5625985ca4a4, 2016-08-28 (annotated)
- Committer:
- cotigac
- Date:
- Sun Aug 28 16:45:05 2016 +0000
- Revision:
- 4:5625985ca4a4
- Parent:
- 2:47c3dad2c8ef
removed dependencies to font and oled types
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
khuang | 2:47c3dad2c8ef | 1 | /* Hexiwear NXP Bitmap Images |
khuang | 2:47c3dad2c8ef | 2 | * This file contains the bitmaps for the full screen (96 by 96 pixels) NXP logo |
khuang | 2:47c3dad2c8ef | 3 | * and a smaller 96 by 32 pixels NXP logo. |
khuang | 2:47c3dad2c8ef | 4 | * |
khuang | 2:47c3dad2c8ef | 5 | * Redistribution and use in source and binary forms, with or without modification, |
khuang | 2:47c3dad2c8ef | 6 | * are permitted provided that the following conditions are met: |
khuang | 2:47c3dad2c8ef | 7 | * |
khuang | 2:47c3dad2c8ef | 8 | * Redistributions of source code must retain the above copyright notice, this list |
khuang | 2:47c3dad2c8ef | 9 | * of conditions and the following disclaimer. |
khuang | 2:47c3dad2c8ef | 10 | * |
khuang | 2:47c3dad2c8ef | 11 | * Redistributions in binary form must reproduce the above copyright notice, this |
khuang | 2:47c3dad2c8ef | 12 | * list of conditions and the following disclaimer in the documentation and/or |
khuang | 2:47c3dad2c8ef | 13 | * other materials provided with the distribution. |
khuang | 2:47c3dad2c8ef | 14 | * |
khuang | 2:47c3dad2c8ef | 15 | * Neither the name of NXP, nor the names of its |
khuang | 2:47c3dad2c8ef | 16 | * contributors may be used to endorse or promote products derived from this |
khuang | 2:47c3dad2c8ef | 17 | * software without specific prior written permission. |
khuang | 2:47c3dad2c8ef | 18 | * |
khuang | 2:47c3dad2c8ef | 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
khuang | 2:47c3dad2c8ef | 20 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
khuang | 2:47c3dad2c8ef | 21 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
khuang | 2:47c3dad2c8ef | 22 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
khuang | 2:47c3dad2c8ef | 23 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
khuang | 2:47c3dad2c8ef | 24 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
khuang | 2:47c3dad2c8ef | 25 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
khuang | 2:47c3dad2c8ef | 26 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
khuang | 2:47c3dad2c8ef | 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
khuang | 2:47c3dad2c8ef | 28 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
khuang | 2:47c3dad2c8ef | 29 | * |
khuang | 2:47c3dad2c8ef | 30 | * visit: http://www.mikroe.com and http://www.nxp.com |
khuang | 2:47c3dad2c8ef | 31 | * |
khuang | 2:47c3dad2c8ef | 32 | * get support at: http://www.mikroe.com/forum and https://community.nxp.com |
khuang | 2:47c3dad2c8ef | 33 | * |
khuang | 2:47c3dad2c8ef | 34 | * Project HEXIWEAR, 2015 |
khuang | 2:47c3dad2c8ef | 35 | */ |
khuang | 2:47c3dad2c8ef | 36 | |
khuang | 2:47c3dad2c8ef | 37 | |
khuang | 2:47c3dad2c8ef | 38 | #include "stdint.h" |
khuang | 2:47c3dad2c8ef | 39 | |
khuang | 2:47c3dad2c8ef | 40 | extern const uint8_t NXP_whole_bmp[]; |
khuang | 2:47c3dad2c8ef | 41 | extern const uint8_t NXP_banner_bmp[6150]; |