95 lines
5.1 KiB
C
95 lines
5.1 KiB
C
/****************************************************************************
|
|
* examples/nxdemo/nxdemo.h
|
|
*
|
|
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
|
* Author: Cherciu Mihail <m_cherciu@yahoo.com>
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions
|
|
* are met:
|
|
*
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
* notice, this list of conditions and the following disclaimer.
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in
|
|
* the documentation and/or other materials provided with the
|
|
* distribution.
|
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
|
* used to endorse or promote products derived from this software
|
|
* without specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
****************************************************************************/
|
|
|
|
#ifndef __APPS_EXAMPLES_NXDEMO_IMAGES_H
|
|
#define __APPS_EXAMPLES_NXDEMO_IMAGES_H
|
|
|
|
/****************************************************************************
|
|
* Included Files
|
|
****************************************************************************/
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
/****************************************************************************
|
|
* Public Data
|
|
****************************************************************************/
|
|
|
|
static uint8_t nuttxlogo[] =
|
|
{
|
|
0x00, 0x00, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x06, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x0d, 0xf0,
|
|
0x00, 0x00, 0x00, 0x00, 0x1b, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x37, 0xf8, 0x00, 0x00, 0x00, 0x00,
|
|
0x6f, 0xfe, 0x01, 0xc0, 0x03, 0xc0, 0xdc, 0x7f, 0x02, 0x20, 0x04, 0x21, 0xb8, 0x3f, 0x06, 0x10,
|
|
0x04, 0x13, 0x78, 0x3f, 0xcc, 0x10, 0x04, 0x1e, 0xf8, 0x1f, 0xe8, 0x10, 0x04, 0x0d, 0xf8, 0x1f,
|
|
0xf0, 0x20, 0x04, 0x0f, 0xf8, 0x0f, 0xf0, 0x20, 0x04, 0x07, 0xf8, 0x0f, 0xe0, 0x40, 0x04, 0x07,
|
|
0xf8, 0x07, 0xc0, 0x40, 0x04, 0x03, 0xf8, 0x07, 0xc0, 0x80, 0x04, 0x03, 0xf8, 0x03, 0x81, 0x00,
|
|
0x04, 0x01, 0xf8, 0x03, 0x83, 0x80, 0x04, 0x01, 0xf8, 0x01, 0x03, 0xc0, 0x0c, 0x00, 0xf8, 0x01,
|
|
0x07, 0xe0, 0x1c, 0x00, 0xf8, 0x00, 0x07, 0xf0, 0x34, 0x00, 0x78, 0x20, 0x0f, 0xf8, 0x6c, 0x00,
|
|
0x78, 0x20, 0x0f, 0xfc, 0xdc, 0x10, 0x38, 0x30, 0x1f, 0xfe, 0xbc, 0x10, 0x38, 0x30, 0x1f, 0xff,
|
|
0xfc, 0x18, 0x18, 0x30, 0x3f, 0xff, 0xfc, 0x18, 0x18, 0x30, 0x1f, 0xfd, 0x3c, 0x1c, 0x08, 0x20,
|
|
0x1f, 0xfb, 0x3c, 0x1c, 0x08, 0x20, 0x0f, 0xf6, 0x1c, 0x1e, 0x00, 0x00, 0x0f, 0xec, 0x04, 0x1e,
|
|
0x00, 0x00, 0x07, 0xd8, 0x04, 0x1f, 0x00, 0x01, 0x07, 0xb0, 0x04, 0x1f, 0x00, 0x01, 0x03, 0x60,
|
|
0x04, 0x1f, 0x80, 0x03, 0x82, 0xc0, 0x04, 0x1f, 0x80, 0x07, 0x81, 0x80, 0x04, 0x1f, 0xc0, 0x07,
|
|
0xc0, 0x80, 0x04, 0x1f, 0xc0, 0x07, 0xe0, 0x40, 0x04, 0x1f, 0xe0, 0x0f, 0xc0, 0x40, 0x04, 0x1f,
|
|
0xe0, 0x0f, 0xb0, 0x20, 0x04, 0x13, 0xf0, 0x1f, 0x68, 0x10, 0x04, 0x13, 0xf0, 0x3e, 0xcc, 0x10,
|
|
0x04, 0x11, 0xf8, 0x3d, 0x82, 0x10, 0x02, 0x20, 0x78, 0x3b, 0x02, 0x20, 0x01, 0xc0, 0x7e, 0xf6,
|
|
0x01, 0xc0, 0x00, 0x00, 0x3f, 0xec, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xd8, 0x00, 0x00, 0x00, 0x00,
|
|
0x0f, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x07, 0x60, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x00, 0x00
|
|
|
|
};
|
|
|
|
static uint8_t demo[] =
|
|
{
|
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x03, 0xf0, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xfc,
|
|
0x00, 0x03, 0xfe, 0x00, 0x03, 0xfe, 0x00, 0x03, 0xff, 0x00, 0x03, 0xff, 0x80, 0x03, 0xff, 0xc0,
|
|
0x03, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x03, 0xff, 0x80, 0x03, 0xff, 0x80, 0x03, 0xff, 0x00, 0x03,
|
|
0xfe, 0x00, 0x03, 0xfc, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xf8, 0x00, 0x03, 0xf0, 0x00, 0x03, 0xe0,
|
|
0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
|
};
|
|
|
|
static uint8_t battery [] =
|
|
{
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xfc, 0x10, 0x00, 0x04, 0x37, 0x77,
|
|
0x74, 0x37, 0x77, 0x74, 0x37, 0x77, 0x74, 0x37, 0x77, 0x74, 0x10, 0x00, 0x04, 0x0f, 0xff, 0xfc,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
};
|
|
|
|
/****************************************************************************
|
|
* Public Function Prototypes
|
|
****************************************************************************/
|
|
|
|
#endif /* __APPS_EXAMPLES_NXDEMO_IMAGES_H */
|